Class PrefsDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PrefsDialog extends JDialog
This displays and sets preferences for a TrackerPanel.
Author:
Douglas Brown
See Also:
  • Field Details

    • webStartWarningShown

      protected static boolean webStartWarningShown
    • userHome

      protected static String userHome
    • javaHome

      protected static String javaHome
    • trackerJarFilter

      protected static FilenameFilter trackerJarFilter
    • codeBaseDir

      protected static File codeBaseDir
    • frame

      protected TFrame frame
    • panelID

      protected Integer panelID
    • okButton

      protected JButton okButton
    • cancelButton

      protected JButton cancelButton
    • allButton

      protected JButton allButton
    • noneButton

      protected JButton noneButton
    • applyButton

      protected JButton applyButton
    • saveButton

      protected JButton saveButton
    • relaunchButton

      protected JButton relaunchButton
    • clearRecentButton

      protected JButton clearRecentButton
    • checkForUpgradeButton

      protected JButton checkForUpgradeButton
    • clearHostButton

      protected JButton clearHostButton
    • browseCacheButton

      protected JButton browseCacheButton
    • clearCacheButton

      protected JButton clearCacheButton
    • setCacheButton

      protected JButton setCacheButton
    • setRunButton

      protected JButton setRunButton
    • cacheField

      protected JTextField cacheField
    • runField

      protected JTextField runField
    • checkPanel

      protected JPanel checkPanel
    • mainButtonBar

      protected JPanel mainButtonBar
    • tabbedPane

      protected JTabbedPane tabbedPane
    • configPanel

      protected JPanel configPanel
    • runtimePanel

      protected JPanel runtimePanel
    • videoPanel

      protected JPanel videoPanel
    • generalPanel

      protected JPanel generalPanel
    • actionsPanel

      protected JPanel actionsPanel
    • displayPanel

      protected JPanel displayPanel
    • checkPanelBorder

      protected TitledBorder checkPanelBorder
    • lfSubPanelBorder

      protected TitledBorder lfSubPanelBorder
    • langSubPanelBorder

      protected TitledBorder langSubPanelBorder
    • hintsSubPanelBorder

      protected TitledBorder hintsSubPanelBorder
    • unitsSubPanelBorder

      protected TitledBorder unitsSubPanelBorder
    • versionSubPanelBorder

      protected TitledBorder versionSubPanelBorder
    • jreSubPanelBorder

      protected TitledBorder jreSubPanelBorder
    • memorySubPanelBorder

      protected TitledBorder memorySubPanelBorder
    • runSubPanelBorder

      protected TitledBorder runSubPanelBorder
    • videoTypeSubPanelBorder

      protected TitledBorder videoTypeSubPanelBorder
    • xuggleSpeedSubPanelBorder

      protected TitledBorder xuggleSpeedSubPanelBorder
    • warningsSubPanelBorder

      protected TitledBorder warningsSubPanelBorder
    • recentSubPanelBorder

      protected TitledBorder recentSubPanelBorder
    • cacheSubPanelBorder

      protected TitledBorder cacheSubPanelBorder
    • logLevelSubPanelBorder

      protected TitledBorder logLevelSubPanelBorder
    • upgradeSubPanelBorder

      protected TitledBorder upgradeSubPanelBorder
    • fontSubPanelBorder

      protected TitledBorder fontSubPanelBorder
    • resetToStep0SubPanelBorder

      protected TitledBorder resetToStep0SubPanelBorder
    • decimalSeparatorBorder

      protected TitledBorder decimalSeparatorBorder
    • mouseWheelSubPanelBorder

      protected TitledBorder mouseWheelSubPanelBorder
    • calibrationStickSubPanelBorder

      protected TitledBorder calibrationStickSubPanelBorder
    • dataGapSubPanelBorder

      protected TitledBorder dataGapSubPanelBorder
    • trailLengthSubPanelBorder

      protected TitledBorder trailLengthSubPanelBorder
    • pointmassFootprintSubPanelBorder

      protected TitledBorder pointmassFootprintSubPanelBorder
    • memoryField

      protected IntegerField memoryField
    • memoryLabel

      protected JLabel memoryLabel
    • recentSizeLabel

      protected JLabel recentSizeLabel
    • lookFeelLabel

      protected JLabel lookFeelLabel
    • cacheLabel

      protected JLabel cacheLabel
    • versionLabel

      protected JLabel versionLabel
    • runLabel

      protected JLabel runLabel
    • defaultMemoryCheckbox

      protected JCheckBox defaultMemoryCheckbox
    • hintsCheckbox

      protected JCheckBox hintsCheckbox
    • vidWarningCheckbox

      protected JCheckBox vidWarningCheckbox
    • showGapsCheckbox

      protected JCheckBox showGapsCheckbox
    • xuggleErrorCheckbox

      protected JCheckBox xuggleErrorCheckbox
    • variableDurationCheckBox

      protected JCheckBox variableDurationCheckBox
    • resetToStep0Checkbox

      protected JCheckBox resetToStep0Checkbox
    • autofillCheckbox

      protected JCheckBox autofillCheckbox
    • memorySize

      protected int memorySize
    • recentSizeSpinner

      protected JSpinner recentSizeSpinner
    • runSpinner

      protected JSpinner runSpinner
    • lookFeelDropdown

      protected JComboBox<String> lookFeelDropdown
    • languageDropdown

      protected JComboBox<String> languageDropdown
    • jreDropdown

      protected JComboBox<String> jreDropdown
    • trailLengthDropdown

      protected JComboBox<String> trailLengthDropdown
    • checkForUpgradeDropdown

      protected JComboBox<String> checkForUpgradeDropdown
    • versionDropdown

      protected JComboBox<String> versionDropdown
    • logLevelDropdown

      protected JComboBox<String> logLevelDropdown
    • fontSizeDropdown

      protected JComboBox<String> fontSizeDropdown
    • footprintDropdown

      protected JComboBox<Footprint> footprintDropdown
    • vm32Button

      protected JRadioButton vm32Button
    • vm64Button

      protected JRadioButton vm64Button
    • movieEngineButton

      protected JRadioButton movieEngineButton
    • noEngineButton

      protected JRadioButton noEngineButton
    • radiansButton

      protected JRadioButton radiansButton
    • degreesButton

      protected JRadioButton degreesButton
    • scrubButton

      protected JRadioButton scrubButton
    • zoomButton

      protected JRadioButton zoomButton
    • markStickEndsButton

      protected JRadioButton markStickEndsButton
    • centerStickButton

      protected JRadioButton centerStickButton
    • xuggleFastButton

      protected JRadioButton xuggleFastButton
    • xuggleSlowButton

      protected JRadioButton xuggleSlowButton
    • defaultDecimalButton

      protected JRadioButton defaultDecimalButton
    • periodDecimalButton

      protected JRadioButton periodDecimalButton
    • commaDecimalButton

      protected JRadioButton commaDecimalButton
    • trackerVersions

      protected OSPRuntime.Version[] trackerVersions
    • relaunching

      protected boolean relaunching
    • refreshing

      protected boolean refreshing
    • prevEnabled

      protected Set<String> prevEnabled
    • prevMemory

      protected int prevMemory
    • prevRecentCount

      protected int prevRecentCount
    • prevUpgradeInterval

      protected int prevUpgradeInterval
    • prevFontLevel

      protected int prevFontLevel
    • prevFontLevelPlus

      protected int prevFontLevelPlus
    • prevTrailLengthIndex

      protected int prevTrailLengthIndex
    • prevLookFeel

      protected String prevLookFeel
    • prevLocaleName

      protected String prevLocaleName
    • prevJRE

      protected String prevJRE
    • prevTrackerJar

      protected String prevTrackerJar
    • prevEngine

      protected String prevEngine
    • prevDecimalSeparator

      protected String prevDecimalSeparator
    • prevPointmassFootprint

      protected String prevPointmassFootprint
    • prevHints

      protected boolean prevHints
    • prevRadians

      protected boolean prevRadians
    • prevFastXuggle

      protected boolean prevFastXuggle
    • prevCenterCalibrationStick

      protected boolean prevCenterCalibrationStick
    • prevWarnVariableDuration

      protected boolean prevWarnVariableDuration
    • prevWarnNoVideoEngine

      protected boolean prevWarnNoVideoEngine
    • prevWarnXuggleError

      protected boolean prevWarnXuggleError
    • prevWarnXuggleVersion

      protected boolean prevWarnXuggleVersion
    • prevShowGaps

      protected boolean prevShowGaps
    • prevMarkAtCurrentFrame

      protected boolean prevMarkAtCurrentFrame
    • prevClearCacheOnExit

      protected boolean prevClearCacheOnExit
    • prevUse32BitVM

      protected boolean prevUse32BitVM
    • prevWarnCopyFailed

      protected boolean prevWarnCopyFailed
    • prevZoomMouseWheel

      protected boolean prevZoomMouseWheel
    • prevAutofill

      protected boolean prevAutofill
    • prevCache

      protected File prevCache
    • prevExecutables

      protected String[] prevExecutables
    • prevLogLevel

      protected Level prevLogLevel
  • Constructor Details

    • PrefsDialog

      public PrefsDialog(TrackerPanel panel, TFrame frame)
      Constructs a PrefsDialog.
      Parameters:
      panel - the tracker panel
  • Method Details

    • setVisible

      public void setVisible(boolean vis)
      Overrides:
      setVisible in class Dialog
    • setFontLevel

      public void setFontLevel(int level)
    • setCache

      protected void setCache(String path)
    • refreshGUI

      protected void refreshGUI()
      Refreshes the GUI.
    • updateDisplay

      protected void updateDisplay()
      Updates this dialog to show the TrackerPanel's current preferences.
    • relaunch64Bit

      public void relaunch64Bit()
      Relaunches after changing preferred VM to 64-bit
    • getFileChooser

      protected static JFileChooser getFileChooser(File file, boolean useJREFilter)
      Gets a file chooser.
      Parameters:
      file - the initial file to select
      useJREFilter - true if setting JRE
      Returns:
      the file chooser