python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
java swing hide and show JOptionPane programmatically
I've been researching hiding and showing Swing dialogs associated with our main GUI frame programmatically. A number of answers I looked at referenced using the getOwnedWindows() method to get all ch...
Warren
Votes: 0
Answers: 1
Can I set the size of the JOptionPane.showMessageDialog's window?
I'm working on a simple app that stores some objects (persons) in an Array, I'm trying to use JOptionPane.showMessageDialog to list them (obj.toString) on the screen.
The problem is that after about s...
AdaoBMF
Votes: 0
Answers: 1
JOptionPane does not show the icon, why?
I could not see the icon with those lines of codes, although it should work.
The code is the following:
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JOption...

RedRabbit
Votes: 0
Answers: 1
Increase button size in JOptionPane - Java
I would like to increase the button size of a JOptionePane. The code for the JOptionPane of the button is:
addWindowListener(new java.awt.event.WindowAdapter() {
@Override
...
omaza1990
Votes: 0
Answers: 2