1. Return to a specific dialog stackoverflow.comI'm writing a very simple text editor and have run into a somewhat minor problem. Code below Saving a file, when a file exists, the user will be prompted to overwrite, cancel, ... |
2. JDialog with multiple returns forums.netbeans.orgI wish to create a dialog, similar to a showConfirmDialog. It needs to have a JList with the ability to select multiple values and return which ones are selected. The list is populated from an array. I saw no options in any of the show dialog classes to return multiple values. Any help would be appreciated. |
3. JDialog isn't Showing till return from eventListener java-forums.orgI used the GUI app template of Netbeans and I'm having some strange behavior with a calendar object that isn't showing up right away. Java Code: private void bidLinesContainValueChanged(javax.swing.event.ListSelectionEvent evt) { displayaline((String) ((JList) evt.getSource()).getSelectedValue()); Java Code: private void displayaline(String lineselected) { ..... // *** Calendar if(viewCalendar){ Point rv = new Point(calDialog.getLocation()); if(calDialog.isShowing()){ calDialog.dispose(); } calDialog = new JDialog(mainFrame,"test"); MonthlyCalendar ch = ... |