Search in sources :

Example 26 with EncodeControl

use of megamek.common.util.EncodeControl in project megameklab by MegaMek.

the class AeroFuelView method initUI.

private void initUI() {
    setLayout(new GridBagLayout());
    // $NON-NLS-1$
    ResourceBundle resourceMap = ResourceBundle.getBundle("megameklab.resources.Views", new EncodeControl());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.insets = new Insets(0, 0, 0, 0);
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.gridwidth = 1;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("AeroFuelView.spnFuel.text"), labelSize), gbc);
    gbc.gridx = 1;
    gbc.fill = GridBagConstraints.NONE;
    setFieldSize(spnFuel, spinnerSizeLg);
    // $NON-NLS-1$
    spnFuel.setToolTipText(resourceMap.getString("AeroFuelView.spnFuel.tooltip"));
    add(spnFuel, gbc);
    spnFuel.addChangeListener(this);
    gbc.gridx = 2;
    gbc.fill = GridBagConstraints.BOTH;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("AeroFuelView.lblFuelPoints.text"), labelSize), gbc);
    gbc.gridx = 3;
    gbc.insets = new Insets(0, 10, 0, 20);
    // $NON-NLS-1$
    lblFuelPoints.setToolTipText(resourceMap.getString("AeroFuelView.lblFuelPoints.tooltip"));
    add(lblFuelPoints, gbc);
    gbc.insets = new Insets(0, 0, 0, 0);
    JPanel panInfoTurns = new JPanel(new GridLayout(0, 2));
    // $NON-NLS-1$
    panInfoTurns.add(new JLabel(resourceMap.getString("AeroFuelView.lblTurnsAtSafe.text")), gbc);
    // $NON-NLS-1$
    panInfoTurns.add(new JLabel(resourceMap.getString("AeroFuelView.lblTurnsAtMax.text")), gbc);
    // $NON-NLS-1$
    lblTurnsAtSafe.setToolTipText(resourceMap.getString("AeroFuelView.lblTurnsAtSafe.tooltip"));
    // $NON-NLS-1$
    lblTurnsAtMax.setToolTipText(resourceMap.getString("AeroFuelView.lblTurnsAtMax.tooltip"));
    panInfoTurns.add(lblTurnsAtSafe);
    panInfoTurns.add(lblTurnsAtMax);
    gbc.gridx = 0;
    gbc.gridwidth = 4;
    gbc.gridy = 1;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.insets = new Insets(10, 10, 10, 10);
    add(panInfoTurns, gbc);
    panBurnDays.setLayout(new GridLayout(0, 2));
    // $NON-NLS-1$
    panBurnDays.add(new JLabel(resourceMap.getString("AeroFuelView.lblBurnDays1G.text")), gbc);
    // $NON-NLS-1$
    panBurnDays.add(new JLabel(resourceMap.getString("AeroFuelView.lblBurnDaysMax.text")), gbc);
    // $NON-NLS-1$
    lblBurnDays1G.setToolTipText(resourceMap.getString("AeroFuelView.lblBurnDays1G.tooltip"));
    // $NON-NLS-1$
    lblBurnDaysMax.setToolTipText(resourceMap.getString("AeroFuelView.lblBurnDaysMax.tooltip"));
    panBurnDays.add(lblBurnDays1G);
    panBurnDays.add(lblBurnDaysMax);
    gbc.gridx = 0;
    gbc.gridwidth = 4;
    gbc.gridy = 2;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.insets = new Insets(10, 10, 10, 10);
    add(panInfoTurns, gbc);
    gbc.gridx = 0;
    gbc.gridy = 3;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.insets = new Insets(10, 10, 10, 10);
    add(panBurnDays, gbc);
}
Also used : JPanel(javax.swing.JPanel) GridBagConstraints(java.awt.GridBagConstraints) GridLayout(java.awt.GridLayout) Insets(java.awt.Insets) GridBagLayout(java.awt.GridBagLayout) EncodeControl(megamek.common.util.EncodeControl) JLabel(javax.swing.JLabel) ResourceBundle(java.util.ResourceBundle)

Example 27 with EncodeControl

use of megamek.common.util.EncodeControl in project megameklab by MegaMek.

the class BAEnhancementView method initUI.

private void initUI() {
    // $NON-NLS-1$
    ResourceBundle resourceMap = ResourceBundle.getBundle("megameklab.resources.Views", new EncodeControl());
    setLayout(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.NORTHWEST;
    chkPartialWing.setText(resourceMap.getString("BAEnhancementView.chkPartialWing.text"));
    // $NON-NLS-1$
    chkPartialWing.setToolTipText(resourceMap.getString("BAEnhancementView.chkPartialWing.tooltip"));
    add(chkPartialWing, gbc);
    chkPartialWing.addActionListener(this);
    gbc.gridx++;
    chkJumpBooster.setText(resourceMap.getString("BAEnhancementView.chkJumpBooster.text"));
    // $NON-NLS-1$
    chkJumpBooster.setToolTipText(resourceMap.getString("BAEnhancementView.chkJumpBooster.tooltip"));
    add(chkJumpBooster, gbc);
    chkJumpBooster.addActionListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    chkMechJumpBooster.setText(resourceMap.getString("BAEnhancementView.chkMechJumpBooster.text"));
    // $NON-NLS-1$
    chkMechJumpBooster.setToolTipText(resourceMap.getString("BAEnhancementView.chkMechJumpBooster.tooltip"));
    add(chkMechJumpBooster, gbc);
    chkMechJumpBooster.addActionListener(this);
    gbc.gridx++;
    chkMyomerBooster.setText(resourceMap.getString("BAEnhancementView.chkMyomerBooster.text"));
    // $NON-NLS-1$
    chkMyomerBooster.setToolTipText(resourceMap.getString("BAEnhancementView.chkMyomerBooster.tooltip"));
    add(chkMyomerBooster, gbc);
    chkMyomerBooster.addActionListener(this);
}
Also used : GridBagConstraints(java.awt.GridBagConstraints) GridBagLayout(java.awt.GridBagLayout) EncodeControl(megamek.common.util.EncodeControl) ResourceBundle(java.util.ResourceBundle)

Example 28 with EncodeControl

use of megamek.common.util.EncodeControl in project megameklab by MegaMek.

the class SVChassisView method initUI.

private void initUI() {
    // $NON-NLS-1$
    ResourceBundle resourceMap = ResourceBundle.getBundle("megameklab.resources.Views", new EncodeControl());
    for (TestSupportVehicle.SVType t : TestSupportVehicle.SVType.values()) {
        typeNames.put(t, resourceMap.getString("SVType." + t.toString()));
    }
    // $NON-NLS-1$
    turretNames = resourceMap.getString("CVChassisView.turrets.values").split(",");
    // $NON-NLS-1$
    final String[] fireConNames = resourceMap.getString("SVChassisView.fireCon.values").split(",");
    cbFireControl.setModel(new DefaultComboBoxModel<>(fireConNames));
    setLayout(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    gbc.anchor = GridBagConstraints.WEST;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.spnTonnage.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnTonnage, spinnerSizeLg);
    // $NON-NLS-1$
    spnTonnage.setToolTipText(resourceMap.getString("SVChassisView.spnTonnage.tooltip"));
    add(spnTonnage, gbc);
    spnTonnage.addChangeListener(this);
    gbc.gridx = 2;
    // $NON-NLS-1$
    chkSmall.setText(resourceMap.getString("SVChassisView.chkSmall.text"));
    // $NON-NLS-1$
    chkSmall.setToolTipText(resourceMap.getString("SVChassisView.chkSmall.tooltip"));
    add(chkSmall, gbc);
    chkSmall.setActionCommand(ACTION_SMALL);
    chkSmall.addActionListener(this);
    for (int r = ITechnology.RATING_A; r <= ITechnology.RATING_F; r++) {
        cbStructureTechRating.addItem(r);
    }
    gbc.gridx = 0;
    gbc.gridwidth = 2;
    gbc.gridy++;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.cbStructureTechRating.text"), labelSize), gbc);
    gbc.gridx = 2;
    gbc.gridwidth = 1;
    setFieldSize(cbStructureTechRating, spinnerSize);
    // $NON-NLS-1$
    cbStructureTechRating.setToolTipText(resourceMap.getString("SVChassisView.cbStructureTechRating.tooltip"));
    add(cbStructureTechRating, gbc);
    cbStructureTechRating.setActionCommand(ACTION_STRUCTURE_RATING);
    cbStructureTechRating.addActionListener(this);
    SV_TYPES.forEach(cbType::addItem);
    gbc.gridx = 0;
    gbc.gridwidth = 1;
    gbc.gridy++;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.cbType.text"), labelSize), gbc);
    gbc.gridx = 1;
    gbc.gridwidth = 2;
    setFieldSize(cbType, controlSize);
    // $NON-NLS-1$
    cbType.setToolTipText(resourceMap.getString("SVChassisView.cbType.tooltip"));
    add(cbType, gbc);
    cbType.setActionCommand(ACTION_TYPE);
    cbType.addActionListener(this);
    cbEngine.setModel(new DefaultComboBoxModel<>(TestSupportVehicle.SVEngine.values()));
    gbc.gridx = 0;
    gbc.gridwidth = 1;
    gbc.gridy++;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.cbEngine.text"), labelSize), gbc);
    gbc.gridx = 1;
    gbc.gridwidth = 2;
    setFieldSize(cbEngine, controlSize);
    // $NON-NLS-1$
    cbEngine.setToolTipText(resourceMap.getString("SVChassisView.cbEngine.tooltip"));
    add(cbEngine, gbc);
    cbEngine.setActionCommand(ACTION_ENGINE);
    cbEngine.addActionListener(this);
    for (int r = ITechnology.RATING_A; r <= ITechnology.RATING_F; r++) {
        cbEngineTechRating.addItem(r);
    }
    gbc.gridx = 0;
    gbc.gridwidth = 2;
    gbc.gridy++;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.cbEngineTechRating.text"), labelSize), gbc);
    gbc.gridx = 2;
    gbc.gridwidth = 1;
    setFieldSize(cbEngineTechRating, spinnerSize);
    // $NON-NLS-1$
    cbEngineTechRating.setToolTipText(resourceMap.getString("SVChassisView.cbEngineTechRating.tooltip"));
    add(cbEngineTechRating, gbc);
    cbEngineTechRating.setActionCommand(ACTION_ENGINE_RATING);
    cbEngineTechRating.addActionListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    gbc.gridwidth = 1;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("CVChassisView.cbTurrets.text"), labelSize), gbc);
    gbc.gridx = 1;
    gbc.gridwidth = 2;
    setFieldSize(cbTurrets, controlSize);
    // $NON-NLS-1$
    cbTurrets.setToolTipText(resourceMap.getString("CVChassisView.cbTurrets.tooltip"));
    add(cbTurrets, gbc);
    cbTurrets.setActionCommand(ACTION_TURRET_CONFIG);
    cbTurrets.addActionListener(this);
    gbc.gridx = 1;
    gbc.gridy++;
    gbc.gridwidth = 1;
    // $NON-NLS-1$
    chkSponson.setText(resourceMap.getString("SVChassisView.chkSponson.text"));
    // $NON-NLS-1$
    chkSponson.setToolTipText(resourceMap.getString("SVChassisView.chkSponson.tooltip"));
    add(chkSponson, gbc);
    chkSponson.setActionCommand(ACTION_SPONSON);
    chkSponson.addActionListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    gbc.gridwidth = 1;
    // $NON-NLS-1$
    lblPintle.setText(resourceMap.getString("SVChassisView.lblPintle.text"));
    add(lblPintle, gbc);
    gbc.gridx = 1;
    // $NON-NLS-1$
    chkPintleLeft.setText(resourceMap.getString("SVChassisView.chkPintleLeft.text"));
    // $NON-NLS-1$
    chkPintleLeft.setToolTipText(resourceMap.getString("SVChassisView.chkPintle.tooltip"));
    chkPintleLeft.setActionCommand(ACTION_PINTLE_LEFT);
    add(chkPintleLeft, gbc);
    chkPintleLeft.addActionListener(this);
    gbc.gridx = 2;
    // $NON-NLS-1$
    chkPintleRight.setText(resourceMap.getString("SVChassisView.chkPintleRight.text"));
    // $NON-NLS-1$
    chkPintleRight.setToolTipText(resourceMap.getString("SVChassisView.chkPintle.tooltip"));
    add(chkPintleRight, gbc);
    chkPintleRight.setActionCommand(ACTION_PINTLE_RIGHT);
    chkPintleRight.addActionListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    gbc.gridwidth = 1;
    // $NON-NLS-1$
    add(createLabel(resourceMap.getString("SVChassisView.cbFireCon.text"), labelSize), gbc);
    gbc.gridx = 1;
    gbc.gridwidth = 2;
    setFieldSize(cbFireControl, controlSize);
    // $NON-NLS-1$
    cbFireControl.setToolTipText(resourceMap.getString("SVChassisView.cbFireCon.tooltip"));
    add(cbFireControl, gbc);
    cbFireControl.setActionCommand(ACTION_FIRE_CONTROL);
    cbFireControl.addActionListener(this);
    initOmniPanel(resourceMap);
    gbc.gridx = 0;
    gbc.gridy++;
    gbc.gridwidth = GridBagConstraints.REMAINDER;
    add(omniPanel, gbc);
}
Also used : TestSupportVehicle(megamek.common.verifier.TestSupportVehicle) EncodeControl(megamek.common.util.EncodeControl)

Example 29 with EncodeControl

use of megamek.common.util.EncodeControl in project megameklab by MegaMek.

the class LACrewView method initUI.

public void initUI() {
    setLayout(new GridBagLayout());
    // $NON-NLS-1$
    ResourceBundle resourceMap = ResourceBundle.getBundle("megameklab.resources.Views", new EncodeControl());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 0;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnBaseCrew.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnBaseCrew, spinnerSize);
    add(spnBaseCrew, gbc);
    spnBaseCrew.setToolTipText(resourceMap.getString("AerospaceCrewView.spnBaseCrew.tooltip"));
    spnBaseCrew.addChangeListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnGunners.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnGunners, spinnerSize);
    add(spnGunners, gbc);
    spnGunners.setToolTipText(resourceMap.getString("AerospaceCrewView.spnGunners.tooltip"));
    spnGunners.addChangeListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.lblTotalCrew.text"), labelSize), gbc);
    gbc.gridx = 1;
    add(lblTotalCrew, gbc);
    lblTotalCrew.setToolTipText(resourceMap.getString("AerospaceCrewView.lblTotalCrew.tooltip"));
    lblTotalCrew.setHorizontalAlignment(JLabel.RIGHT);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnOfficers.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnOfficers, spinnerSize);
    spnOfficers.setToolTipText(resourceMap.getString("AerospaceCrewView.spnOfficers.tooltip"));
    add(spnOfficers, gbc);
    spnOfficers.addChangeListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.lblBayPersonnel.text"), labelSize), gbc);
    gbc.gridx = 1;
    add(lblBayPersonnel, gbc);
    lblBayPersonnel.setToolTipText(resourceMap.getString("AerospaceCrewView.lblBayPersonnel.tooltip"));
    lblBayPersonnel.setHorizontalAlignment(JLabel.RIGHT);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnPassengers.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnPassengers, spinnerSize);
    spnPassengers.setToolTipText(resourceMap.getString("AerospaceCrewView.spnPassengers.tooltip"));
    add(spnPassengers, gbc);
    spnPassengers.addChangeListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnMarines.text"), labelSize), gbc);
    gbc.gridx = 1;
    setFieldSize(spnMarines, spinnerSize);
    spnMarines.setToolTipText(resourceMap.getString("AerospaceCrewView.spnMarines.tooltip"));
    add(spnMarines, gbc);
    spnMarines.addChangeListener(this);
    gbc.gridx = 0;
    gbc.gridy++;
    lblBAMarines.setText(resourceMap.getString("AerospaceCrewView.spnBAMarines.text"));
    add(lblBAMarines, gbc);
    gbc.gridx = 1;
    setFieldSize(spnBAMarines, spinnerSize);
    spnBAMarines.setToolTipText(resourceMap.getString("AerospaceCrewView.spnBAMarines.tooltip"));
    add(spnBAMarines, gbc);
    spnBAMarines.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy = 0;
    gbc.gridwidth = 2;
    add(new JLabel(resourceMap.getString("AerospaceCrewView.lblQuarters.text")), gbc);
    gbc.gridx = 2;
    gbc.gridy++;
    gbc.gridwidth = 1;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnQuartersFirstClass.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnQuartersFirstClass, spinnerSize);
    spnQuartersFirstClass.setToolTipText(resourceMap.getString("AerospaceCrewView.spnQuartersFirstClass.tooltip"));
    add(spnQuartersFirstClass, gbc);
    spnQuartersFirstClass.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnQuartersStandard.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnQuartersStandard, spinnerSize);
    spnQuartersStandard.setToolTipText(resourceMap.getString("AerospaceCrewView.spnQuartersStandard.tooltip"));
    add(spnQuartersStandard, gbc);
    spnQuartersStandard.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnQuartersSecondClass.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnQuartersSecondClass, spinnerSize);
    spnQuartersSecondClass.setToolTipText(resourceMap.getString("AerospaceCrewView.spnQuartersSecondClass.tooltip"));
    add(spnQuartersSecondClass, gbc);
    spnQuartersSecondClass.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnQuartersSteerage.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnQuartersSteerage, spinnerSize);
    spnQuartersSteerage.setToolTipText(resourceMap.getString("AerospaceCrewView.spnQuartersSteerage.tooltip"));
    add(spnQuartersSteerage, gbc);
    spnQuartersSteerage.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    gbc.gridwidth = 2;
    btnAssignQuarters.setText(resourceMap.getString("AerospaceCrewView.btnAssignQuarters.text"));
    btnAssignQuarters.setToolTipText(resourceMap.getString("AerospaceCrewView.btnAssignQuarters.tooltip"));
    add(btnAssignQuarters, gbc);
    btnAssignQuarters.addActionListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    gbc.gridwidth = 1;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnLifeBoats.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnLifeBoats, spinnerSize);
    spnLifeBoats.setToolTipText(resourceMap.getString("AerospaceCrewView.spnLifeBoats.tooltip"));
    add(spnLifeBoats, gbc);
    spnLifeBoats.addChangeListener(this);
    gbc.gridx = 2;
    gbc.gridy++;
    add(createLabel(resourceMap.getString("AerospaceCrewView.spnEscapePods.text"), labelSize), gbc);
    gbc.gridx = 3;
    setFieldSize(spnEscapePods, spinnerSize);
    spnEscapePods.setToolTipText(resourceMap.getString("AerospaceCrewView.spnEscapePods.tooltip"));
    add(spnEscapePods, gbc);
    spnEscapePods.addChangeListener(this);
}
Also used : GridBagConstraints(java.awt.GridBagConstraints) GridBagLayout(java.awt.GridBagLayout) EncodeControl(megamek.common.util.EncodeControl) JLabel(javax.swing.JLabel) ResourceBundle(java.util.ResourceBundle)

Example 30 with EncodeControl

use of megamek.common.util.EncodeControl in project megameklab by MegaMek.

the class WSGravDeckView method initUI.

private void initUI() {
    // $NON-NLS-1$
    ResourceBundle resourceMap = ResourceBundle.getBundle("megameklab.resources.Views", new EncodeControl());
    setLayout(new BorderLayout());
    add(new JScrollPane(tblGravDecks), BorderLayout.CENTER);
    JPanel btnPanel = new JPanel();
    btnAdd.setText(resourceMap.getString("GravDeckView.btnAdd.text"));
    btnAdd.setToolTipText(resourceMap.getString("GravDeckView.btnAdd.tooltip"));
    btnAdd.setActionCommand(ACTION_ADD);
    btnAdd.addActionListener(this);
    btnPanel.add(btnAdd);
    btnRemove.setText(resourceMap.getString("GravDeckView.btnRemove.text"));
    btnRemove.setToolTipText(resourceMap.getString("GravDeckView.btnRemove.tooltip"));
    btnRemove.setActionCommand(ACTION_REMOVE);
    btnRemove.addActionListener(this);
    btnPanel.add(btnRemove);
    add(btnPanel, BorderLayout.NORTH);
    model.addTableModelListener(this);
    tblGravDecks.getSelectionModel().addListSelectionListener(ev -> updateButtons());
    tblGravDecks.setPreferredScrollableViewportSize(new Dimension(400, 72));
    // $NON-NLS-1$
    tblGravDecks.setToolTipText(resourceMap.getString("GravDeckView.tblGravDecks.tooltip"));
}
Also used : JScrollPane(javax.swing.JScrollPane) JPanel(javax.swing.JPanel) BorderLayout(java.awt.BorderLayout) EncodeControl(megamek.common.util.EncodeControl) ResourceBundle(java.util.ResourceBundle) Dimension(java.awt.Dimension)

Aggregations

EncodeControl (megamek.common.util.EncodeControl)40 GridBagConstraints (java.awt.GridBagConstraints)36 GridBagLayout (java.awt.GridBagLayout)36 ResourceBundle (java.util.ResourceBundle)36 JLabel (javax.swing.JLabel)15 Insets (java.awt.Insets)10 JPanel (javax.swing.JPanel)5 Dimension (java.awt.Dimension)2 JScrollPane (javax.swing.JScrollPane)2 JSpinner (javax.swing.JSpinner)2 SpinnerNumberModel (javax.swing.SpinnerNumberModel)2 DefaultTableCellRenderer (javax.swing.table.DefaultTableCellRenderer)2 TableColumn (javax.swing.table.TableColumn)2 EntityMovementMode (megamek.common.EntityMovementMode)2 BayData (megamek.common.verifier.BayData)2 BorderLayout (java.awt.BorderLayout)1 GridLayout (java.awt.GridLayout)1 BoxLayout (javax.swing.BoxLayout)1 JButton (javax.swing.JButton)1 JTextField (javax.swing.JTextField)1