public GenerateNetBeansProjectDialog(java.awt.Component c,EditableResources res){
  super((JFrame)SwingUtilities.windowForComponent(c),true);
  initComponents();
  initialForm.setModel(new DefaultComboBoxModel(res.getUIResourceNames()));
  initialForm.setSelectedIndex(0);
  destinationDirectory.setText(System.getProperty("user.home"));
  setLocationByPlatform(true);
  pack();
  setVisible(true);
}

public GenerateNetBeansProjectDialog ( java . awt . Component c , EditableResources res ) { super ( ( JFrame ) SwingUtilities . windowForComponent ( c ) , true ) ; initComponents ( ) ; initialForm . setModel ( new DefaultComboBoxModel ( res . getUIResourceNames ( ) ) ) ; initialForm . setSelectedIndex ( 0 ) ; destinationDirectory . setText ( System . getProperty ( "user.home" ) ) ; setLocationByPlatform ( true ) ; pack ( ) ; setVisible ( true ) ; }
creates new form generatenetbeansprojectdialog
