Package net.sf.cannagrower.gui

Examples of net.sf.cannagrower.gui.FrameCulture


   */
  private boolean close() { 
    // Closing all cultures
    for(javax.swing.JInternalFrame frame:jDesktopPane.getAllFrames()){
      if(frame.getClass().equals(FrameCulture.class)){
        FrameCulture cultureViewer=(FrameCulture)frame;
        if(!cultureViewer.close())return false;
      }
    }
   
    // Saving ressources
    if(Resources.getResources().isModified()){
View Full Code Here


   * @return void
   */
  private void menuFileSave() {
    if(jDesktopPane.getSelectedFrame()==null){return;}
    if(jDesktopPane.getSelectedFrame().getClass().equals(FrameCulture.class)){
      FrameCulture cultureViewer=(FrameCulture)jDesktopPane.getSelectedFrame();
      cultureViewer.save();
    }
  }
View Full Code Here

      }catch(ClassNotFoundException e){
        Messages.showException(e);
      }
    }

    cultureFrame = new FrameCulture(CannaGrower.cannagrower, culture,cultureFile);

    SwingUtilities.invokeLater(new Runnable(){
      public void run() {
        cannagrower.uiOpen(cultureFrame);
      }
View Full Code Here

TOP

Related Classes of net.sf.cannagrower.gui.FrameCulture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.