1. JDialog setVisible(false) vs dispose() stackoverflow.comDoes it make sense to use setVisible(false) on a dialog and reuse it later or is safer to call dispose() every time and to make a new JDialog. What about memory leaks ... |
2. JDialog suspending while setVisible(true) coderanch.comI have a question about the JDialog. What I need to do is to show the JDialog (because I need the window to be modal) with a lable saying "Please wait while loading information." While the information continues to load. When the information is loaded, I need the lable to be removed and a JTable to be shown. What I have ... |
3. JDialog.setVisible(false) and JDialog.dispose() coderanch.comGood Afternoon all, I had a question the answer to which I couldn't really infer, so I thought I would pose it to the ranch: Suppose one creates a custom non-modal JDialog. There's some kind of closing button that handles hiding the window. In the corresponding handler (actionPerformed() or what-have-you), setVisible(false) is called to hide the window. What is the difference ... |
4. IndexOutOfBoundsException when jDialog.setVisible(true) java-forums.orgHi all, I have a desktop application connected to a database created with netbeans. I have 2 tables. One with customers and one with bankchecks. To add a customer the user hits the new button and a jDialog appears that allows him to complete the customer properties and it syncs with the database and mainly it works! When I try to ... |
5. Re-ocurring error with JDialog setVisible forums.oracle.comHi- I get this error when I try to display my dialog.But I don't always get it. I don't know how to find out what's wrong when it only happens now and then. Here is the output:(I've underlined the entry point to the dialog. * Exception occurred during event dispatching: java.lang.NullPointerException at sun.font.FileFont.getFontMetrics(Native Method) at sun.font.FileFontStrike.getFontMetrics(FileFontStrike.java:531) at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:75) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:169) at ... |