Jython/Python and javax.swing.*

Sherrod Faulks birded at verizon.net
Sun Aug 22 12:53:47 EDT 2004


I'm using Jython and in the python script I do:

from javax import swing
result = javax.swing.JOptionPane.showInputDialog(wC, cmd[8:],"Prompt 
from " + client.serverName, JOptionPane.PLAIN_MESSAGE)

wC is a JFrame, cmd is a String and client.serverName is a String.
It won't show the JOptionPane, why?




More information about the Python-list mailing list