congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JFrame.dispose
Code IndexAdd Tabnine to your IDE (free)

How to use
dispose
method
in
javax.swing.JFrame

Best Java code snippets using javax.swing.JFrame.dispose (Showing top 20 results out of 2,178)

Refine searchRefine arrow

  • JFrame.setVisible
origin: SonarSource/sonarqube

private void exit() {
 frame.setVisible(false);
 frame.dispose();
}
origin: kiegroup/optaplanner

  @Override
  public void actionPerformed(ActionEvent e) {
    exceptionFrame.setVisible(false);
    exceptionFrame.dispose();
  }
});
origin: wildfly/wildfly

public void stop() {
  if(!no_channel) {
    try {
      channel.close();
    }
    catch(Exception ex) {
      System.err.println(ex);
    }
  }
  mainFrame.setVisible(false);
  mainFrame.dispose();
}
origin: wildfly/wildfly

public void actionPerformed(ActionEvent e) {
  String     command=e.getActionCommand();
  if("Clear".equals(command)) {
    sendClearPanelMsg();
  }
  else if("Leave".equals(command)) {
    stop();
    mainFrame.setVisible(false);
    mainFrame.dispose();
  }
  else
    System.out.println("Unknown action");
}
origin: gocd/gocd

frame.setVisible(true);
frame.setVisible(false);
frame.dispose();
origin: RaiMan/SikuliX2

 @Override
 public void keyTyped(KeyEvent e) {
  if (e.getKeyChar() == VK_ESCAPE) {
   frame.dispose();
   if (SX.isNotNull(parent)) {
    parent.setVisible(true);
   }
  }
 }
});
origin: Nilhcem/FakeSMTP

  frame.dispose();
} catch (AWTException ex) {
  LOGGER.error("Couldn't create a tray icon, the minimizing is not possible", ex);
frame.setVisible(true);
origin: igniterealtime/Spark

  @Override
  public void actionPerformed(ActionEvent e) {
  alert.setVisible(false);
  alert.dispose();
  }
});
origin: org.swinglabs.swingx/swingx-core

  @Override
  public void actionPerformed(ActionEvent e) {
    f.setVisible(false);
    f.dispose();
  }
};
origin: org.swinglabs.swingx/swingx-all

  @Override
  public void actionPerformed(ActionEvent e) {
    f.setVisible(false);
    f.dispose();
  }
};
origin: org.jwall/streams-core

/**
 * @see stream.runtime.LifeCycle#finish()
 */
@Override
public void finish() throws Exception {
  frame.setVisible(false);
  frame.dispose();
}
origin: com.haulmont.thirdparty/swingx-core

  @Override
  public void actionPerformed(ActionEvent e) {
    f.setVisible(false);
    f.dispose();
  }
};
origin: apache/felix

public void stop(BundleContext context)
{
  if (m_frame != null)
  {
    m_frame.setVisible(false);
    m_frame.dispose();
    m_frame = null;
  }
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

  @Override
  public void actionPerformed(ActionEvent e) {
    f.setVisible(false);
    f.dispose();
  }
};
origin: com.github.kurbatov/firmata4j

  @Override
  public void run() {
    INITIALIZATION_FRAME.setVisible(false);
    INITIALIZATION_FRAME.dispose();
  }
});
origin: org.fuin/utils4swing

private final void closeIntern() {
  if (frame != null) {
    frame.setVisible(false);
    frame.dispose();
    panel = null;
    frame = null;
  }
}
origin: us.ihmc/simulation-construction-set-tools

  @Override
  public void run()
  {
   mainPanel.setVisible(false);
   mainPanel = null;
   frame.setVisible(false);
   frame.dispose();
   frame = null;
  }
});
origin: apache/activemq-artemis

public void stop() {
  if(!no_channel) {
    try {
      channel.close();
    }
    catch(Exception ex) {
      System.err.println(ex);
    }
  }
  mainFrame.setVisible(false);
  mainFrame.dispose();
}
origin: biojava/biojava

@Override
public void windowClosing(WindowEvent e){
  JFrame f = (JFrame) e.getSource();
  f.setVisible(false);
  f.dispose();
}
origin: com.google.code.findbugs/findbugs

  @Override
  public void windowClosed(WindowEvent e) {
    JFrame tmp = messageFrame;
    setMessageFrame(null);
    tmp.setVisible(false);
    tmp.dispose();
  }
});
javax.swingJFramedispose

Popular methods of JFrame

  • <init>
  • setVisible
  • setDefaultCloseOperation
  • pack
  • getContentPane
  • setSize
  • add
  • addWindowListener
  • setTitle
  • setContentPane
  • setLocation
  • setLocationRelativeTo
  • setLocation,
  • setLocationRelativeTo,
  • setJMenuBar,
  • setLayout,
  • setResizable,
  • setIconImage,
  • setBounds,
  • getRootPane,
  • getSize

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now