1. Maximize button in JDialog coderanch.comYou could call pack() on the dialog right after you add all the new widgets to it. This will make the dialog resize itself to be big enough to hold all the widgets on it. If there are any custom components or scrollpanes you might have to make sure they are returning an appropriate preferred size or the dialog will size ... |
2. 2 probs. -> maximize window / dialog tasklist coderanch.comHello everyone I've got a little an a strange problem. The first Question I have is very simple I think but I didn't find out how to figure that in Java. I'm very new to Java and perhaps someone could help me. 1) How can I set the Window maximazed when my java application starts? If I use Dimension dm = ... |
3. How to let a dialog be maximized coderanch.com |
4. Adding Maximize and minimize buttons in Jdialog coderanch.com |
6. Not-resizable (J)dialog showing Maximize Menu !!! java-forums.orgJava Code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MDlg { private JPanel mainPanel = new JPanel(); private JButton btnPop = new JButton("MsgBox"); public MDlg() { mainPanel.setLayout(new FlowLayout()); String txt = "(1) First Right Click on my TitleBar. |
7. JDialog - Maximize and minimize button forums.oracle.com |