Solved

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

Posted on 2003-11-04
3
817 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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

763 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

15 Experts available now in Live!

Get 1:1 Help Now