G
Gast2
Gast
Hallo zusammen,
wie kann man bei einer JOptionPane.showInputDialog(); das Textfeld vorbefüllen???
mfg
wie kann man bei einer JOptionPane.showInputDialog(); das Textfeld vorbefüllen???
mfg
http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.htmlstatic String showInputDialog(Component parentComponent, Object message)
Shows a question-message dialog requesting input from the user parented to parentComponent.
static String showInputDialog(Component parentComponent, Object message, Object initialSelectionValue)
Shows a question-message dialog requesting input from the user and parented to parentComponent.
static String showInputDialog(Component parentComponent, Object message, String title, int messageType)
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
static Object showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.
static String showInputDialog(Object message)
Shows a question-message dialog requesting input from the user.
static String showInputDialog(Object message, Object initialSelectionValue)
Shows a question-message dialog requesting input from the user, with the input value initialized to initialSelectionValue.
SlaterB hat gesagt.:...mit Videorekordern klappt es doch halbwegs...