Displaying Maximise button for JDialog

Posted on 2005-05-07
Last Modified: 2008-01-09
Is it possible to show Maximize button for JDialog?
Also, is it possible to make JFrame modal?

Question by:csound
    LVL 24

    Expert Comment

    No, no.
    You can only resize a dialog to the desk top size.
    LVL 13

    Accepted Solution

    Hi csound,
    > JFrame modal
    as this link:

    The JDialogs that JOptionPane creates are modal. To create a non-modal dialog, you must use the JDialog class directly.

    LVL 24

    Expert Comment

    Sorry, I misread the 2nd question.
    petmagdy is right.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    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…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    760 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

    10 Experts available now in Live!

    Get 1:1 Help Now