1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/** Creates new form ListeJoursDialog */
public RepasBercyTemp(JDialog parent, boolean modal) {
// super(parent, modal);
try{
qtm = new ListeDesInvitationsModel();
log.debug("creation of RemiModel");
}catch(Exception e){
System.out.println("erreur " + e.getMessage());
}
initComponents();
initJrnTable();
java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
Dimension dialogSize = this.getSize();
int dx = (screenSize.width - dialogSize.width ) / 2;
int dy = (screenSize.height - dialogSize.height ) / 2;
this.setLocation(dx, dy);
} |