Mercurial Hosting > luan
changeset 1880:4852d35c52ae default tip
swing
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 06 Apr 2025 19:20:52 -0600 |
parents | 01b2c3c416bf |
children | |
files | src/luan/modules/swing/Option_pane.luan |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 01b2c3c416bf -r 4852d35c52ae src/luan/modules/swing/Option_pane.luan --- a/src/luan/modules/swing/Option_pane.luan Sun Apr 06 18:39:24 2025 -0600 +++ b/src/luan/modules/swing/Option_pane.luan Sun Apr 06 19:20:52 2025 -0600 @@ -9,4 +9,8 @@ JOptionPane.showMessageDialog( frame.java, message, "", JOptionPane.PLAIN_MESSAGE ) end +function Option_pane.show_input_dialog(frame,message) + return JOptionPane.showInputDialog( frame.java, message, "", JOptionPane.PLAIN_MESSAGE ) +end + return Option_pane