aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JOptionPane without a button Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JOptionPane without a button" Watch "JOptionPane without a button" New topic
Author

JOptionPane without a button

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Is it possible to instantiate a JOptionPane with either no button or have
the button invisible.?

Thanks.
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Nope. Easiest way to get what you want is to use a JDialog. You can just create a class that extends JDialog. Treat everything in that class just like coding for a JFrame and don't put any buttons on it.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JOptionPane without a button
 
Similar Threads
JDialog without close button
Making JOptionPane disappear after Ok is pressed
JOptionPane Dialog box - JOptionPane - Dialog box - not responding to Tab keys
JOption Pane
java alert