This post originated from an RSS feed registered with Python Buzz
by Ed Taekema.
Original Post: Jython and Swing
Feed Title: All things Jythonic
Feed URL: http://www.pycs.net/users/0000177/categories/jython/rss.xml
Feed Description: Blogging Jython...
Not so useless Jython from the Useless Python blog . A basic example of how to get going with Jython and Swing!
The following is an example of using the Jython interactive interpreter from the Windows 2000 command prompt. On this page, we demonstrate several Jython basics, including:
use of the jython interpreter from the MS Windows 2000 command prompt
collection of user input with javax.swing.JOptionPane.showInputDialog()
conversion of strings to integers, and integers to strings, plus simple addition
display of output with javax.swing.JOptionPane.showMessageDialog()