Tabnine Logo
GameOptionsDialog.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
megamek.client.ui.swing.GameOptionsDialog
constructor

Best Java code snippets using megamek.client.ui.swing.GameOptionsDialog.<init> (Showing top 4 results out of 315)

origin: MegaMek/megamek

public GameOptionsDialog getGameOptionsDialog() {
  if (gameOptionsDialog == null) {
    gameOptionsDialog = new GameOptionsDialog(this);
  }
  return gameOptionsDialog;
}
origin: MegaMek/megamek

/**
 * Display the game options dialog.
 */
void showGameOptions() {
  GameOptions options = new GameOptions();
  options.initialize();
  options.loadOptions();
  if (optdlg == null) {
    optdlg = new GameOptionsDialog(frame, options, true);
  }
  optdlg.update(options);
  optdlg.setVisible(true);
}
origin: MegaMek/megamek

GameOptionsDialog god = new GameOptionsDialog(frame, g.getOptions(),
    false);
god.update(g.getOptions());
origin: MegaMek/mekhq

private void menuOptionsMMActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_menuOptionsActionPerformed
  GameOptionsDialog god = new GameOptionsDialog(getFrame(), getCampaign().getGameOptions(), false);
  god.refreshOptions();
  god.setEditable(true);
  god.setVisible(true);
  if (!god.wasCancelled()) {
    getCampaign().setGameOptions(god.getOptions());
    setCampaignOptionsFromGameOptions();
    refreshCalendar();
  }
}// GEN-LAST:event_menuOptionsActionPerformed
megamek.client.ui.swingGameOptionsDialog<init>

Javadoc

Creates new GameOptionsDialog for a Client

Popular methods of GameOptionsDialog

  • getOptions
  • refreshOptions
  • setEditable
    Update the dialog so that it is editable or view-only.
  • setVisible
  • addGroup
  • addOption
  • addSearchPanel
  • addWindowListener
  • doSave
  • getContentPane
  • getLocation
  • getSize
  • getLocation,
  • getSize,
  • init,
  • isEditable,
  • isVisible,
  • pack,
  • resetToDefaults,
  • selectGameOptionsFile,
  • send

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Github Copilot alternatives
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