Package com.greentea.relaxation.jnmf.gui.utils

Examples of com.greentea.relaxation.jnmf.gui.utils.NotEditableDefaultTableModel


      componentIsNotEnabledPanel.setBackground(Colors.get(Colors.ERROR_VALUE_COLOR));
   }

   private void createUIComponents()
   {
      coeficientsTableModel = new NotEditableDefaultTableModel();
      coeficientsTable = GuiUtils.createJTable(coeficientsTableModel, true, true, true);

      coloredTableRenderer = new ColoredTableCellRenderer(new IColorProvider()
      {
         public Color getColor(int row, int column)
View Full Code Here


   }

   private void createUIComponents()
   {
      final String networkColumnName = Localizer.getString(StringId.NETWORK);
      DefaultTableModel model = new NotEditableDefaultTableModel(new Object[][]{},
              new Object[]{networkColumnName, Localizer.getString(StringId.INPUTS),
                      Localizer.getString(StringId.OUTPUTS)});
      availableForecastPerformersTable = GuiUtils.createJTable(model, false, false, false);
      availableForecastPerformersTable.getColumn(networkColumnName).setPreferredWidth(125);

      model = new NotEditableDefaultTableModel(new Object[][]{}, new Object[]{networkColumnName});

      groupForecastPerformersTable = GuiUtils.createJTable(model, false, false, false);

      addForecastPerformerButton = new JButton(new ImageIcon(MainFrame.ICONS_DIR + "1.png"));
      removeForecastPerformerButton = new JButton(new ImageIcon(MainFrame.ICONS_DIR + "2.png"));
View Full Code Here

      }
   }

   private void createUIComponents()
   {
      networkConnectionsTableModel = new NotEditableDefaultTableModel();
      networkConnectionsTable =
              GuiUtils.createJTable(networkConnectionsTableModel, true, true, false);

      legendPanel = new JPanel();
      legendPanel.setLayout(
View Full Code Here

TOP

Related Classes of com.greentea.relaxation.jnmf.gui.utils.NotEditableDefaultTableModel

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.