Solved

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

Posted on 2003-11-04
3
893 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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 third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

696 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