Solved

How do I adjust the size of a JOptionPane.showConfirmDialog()?

Posted on 2003-11-04
3
832 Views
Last Modified: 2008-02-26
How do I adjust the size of a JOptionPane.showConfirmDialog() regardless of the text contained within ?
0
Comment
Question by:rayskelton
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 125 total points
ID: 9683920
Don't think you can when using the showXXX methods.
You'll need to use the JOptionPane ctor's and createDialog() method to achieve that.
0
 
LVL 15

Expert Comment

by:Javatm
ID: 9683948
You may need to use JDaiolg instead of a JOptionPane because it only resize
with its components around it.

Hope it helps . . .
JAVATM
0
 
LVL 92

Expert Comment

by:objects
ID: 9684006
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
json example 39 135
JUnit 4 @Before and @BeforeClass differences 3 48
oracle 11g 23 51
MySQL  on Tomcat 8 30
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now