Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jdialog middle of screen

// center a jdialog on screen
JDialog d = new JDialog();
d.setSize(400, 300);
d.setLocationRelativeTo(null);
d.setVisible(true);
Source by alvinalexander.com #
 
PREVIOUS NEXT
Tagged: #jdialog #middle #screen
ADD COMMENT
Topic
Name
6+7 =