Questions tagged [jdialog]

The main Java Swing class for creating a dialog window.

The main Java Swing class for creating a dialog window.
A Dialog window is an independent subwindow meant to carry temporary notice apart from the main Swing Application Window. Most Dialogs present an error message or warning to a user, but Dialogs can present images, directory trees, or just about anything compatible with the main Swing Application that manages them.

1000 questions
-2
votes
2 answers

Multithreading issues with Swing around dialog create/destroy

Possible Duplicate: SwingWorker in Java I have several classes that need to work together but, they're not. For one, I have Main: public class Main { public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { …
Karlovsky120
  • 5,718
  • 7
  • 30
  • 79
-3
votes
1 answer

How to set the parent of jDialog in netbeans?

I'm pretty confused about this, since I haven't been working with jdialogs so far...
Bugster
  • 1,404
  • 8
  • 32
  • 56
-3
votes
2 answers

How to access JFrame's method from JDialog?

I have my main JFrame and one more JDialog. If user click on the button, i want JDialog to call method from this JFrame(which contains some operations on ComboBox in this JFrame). How can I do that? I don't want to use MyJFrame form = new…
Persantarus
  • 39
  • 1
  • 6
-3
votes
1 answer

is there any way to reach working objects on RAM in java

I want to know is there a way to reach working objects in RAM in Java.. let's think that I have a JDialog class which is not modal . and dialog is appears in action of list compaund with given parameters non modal dialogs running statistically so…
Said
  • 1
-3
votes
2 answers

Creating database in Netbeans for Java web application

I have a Jdialog which contains JTextFields and a Save button.How do I create a database table which stores ProjectId, ProjectName and Description and store them locally?
mussdroid
  • 702
  • 1
  • 8
  • 22
-3
votes
1 answer

Button on JFrame is clickable, but JDialog is up

Got a JFrame with a Button on it, if the button is pressed then pops a JDialog up. If i click on the JFrame the JDialog dispose. But if the JDialog is active and I click on the JButton, disposes the JDIalog and open it again. I want to close the…
-4
votes
1 answer

Purpose of JDialog#setModal

What is the purpose of d.setModal(true);? public DatePicker(JFrame parent) { dialog = new JDialog(); dialog.setModal(true); String[] header = { "Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" }; JPanel panel = new JPanel(new…
Kamau Mbûgua
  • 93
  • 2
  • 9
-5
votes
1 answer

How can be components added dynamically in the JDialog?

I am trying to create GUI like given in first picture, but I am not able to do it.here is the image I am getting only one combo1, combo2, combo3 and serialNoLabel instead of 5 [5 is the size of list] ArrayList list; // the size of the…
-5
votes
1 answer

NullPointerException when making a change from a JDialog to a JFrame

Cuando la ejecuto me marca este error `Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at ventana.VentanaPrincipal.actionPerformed(VentanaPrincipal.java:136) at…
-6
votes
1 answer

Dialog box with textfield & combo box

I have a small question in one of the topics from Swing in Java. I was trying to create a dialog box with: label & a combo box (e.g.: gender:M/F) and label & a text field (e.g.: what's your name:text field). I want all the things in the same…
user1957902
  • 37
  • 3
  • 5
1 2 3
66
67