jdialog
temporarily disable ok button on a JDialog, accordingly to a JTextField validation
I have a JDialog created in a fashion like this, accordingly to Oracle\'s tutorial. using the JOptionPane constructor:[详细]
2023-04-12 17:43 分类:问答How do I pack a JDialog with a JPanel that contains a GridLayout?
I\'m creating a dialog as part of Java application. I\'m using groovy\'s swingBuilder and I\'m experiencing some difficulty when trying to pack a JDialog. See the code below:[详细]
2023-04-11 06:17 分类:问答Java listener on dialog close
I have a Java app that displays a list from a database. Inside the class is the following code to open a new dialog for data entry:[详细]
2023-04-11 06:03 分类:问答Adding a JTable to my Pane Inside a Dialog Throws an NPE when I pack it
I have created a JDialog. When it comes up, I have a JTabbedPane that has several FormPanels on it. The form panels are loaded in as a form file (I used Abeille to create the forms.) I have had no pro[详细]
2023-04-10 11:04 分类:问答JMenuItems don't show in JDialog
This is probably a dumb question, but I just can\'t see it!I have Swing app that uses a popup menu.It works fine, but I want to make the menu persistent (i.e. until I close it).I have basically change[详细]
2023-04-09 16:51 分类:问答Java: How can I disable clicking on a panel while showing dialog?
I want to disable clicking on the background panel or frame while showing a dialogue. And I want the dialogue t开发者_如何学Co appear on top of this panel or frame constantly until it is closed.[详细]
2023-04-09 00:44 分类:问答How to hide JDialog from JApplet when user switch browser tab?
Problem: user starts long operation from applet; JDialog with progress bar is displayed. User open/switch to another browser tab - JDialog is still displayed (and annoys user).[详细]
2023-04-08 02:42 分类:问答JDialog goes behind after progressbar finishes
I have JPanel, from which I am opening a search criteria Dialog that extends AbstractAIFDialog. It consists of search criteria text field, result table view and search button. After clicking Search, i[详细]
2023-04-06 07:17 分类:问答How to make repaint for JDialog in Swing?
How to make repaint for JDialog in Swing? If I click on convert button in JDialog I need to change GUI design of JDialog but it\'s not happening? Is their any solution?[详细]
2023-03-29 13:26 分类:问答How do I change the value of a JOptionPane from a PropertyChangeListener without triggering the listener?
I am trying to make a program to manage a group of sports players. Each player has an enum Sport, and SportManager has convenient factory methods. What I am trying to do is open a dialog that has a JT[详细]
2023-03-27 19:38 分类:问答