Examples of updateUI()


Examples of javax.swing.JInternalFrame.updateUI()

                    .getComponent(0);
            File theFile = theSchemaExplorer.getSchemaFile();
            checkSchemaFile(theFile);
            theSchemaExplorer.resetMetaData(jdbcMetaData);
            theSchemaExplorer.getTreeUpdater().update();
            theSchemaFrame.updateUI();
        }
        //EC: If the JDBC preferences entered then display a warning.
        displayWarningOnFailedConnection();

        for (JInternalFrame jdbcFrame : jdbcWindows) {
View Full Code Here

Examples of javax.swing.JLabel.updateUI()

        int xx = fm.stringWidth(desc);
        lbl.setLocation(p.x + 10, p.y - fm.getHeight() * 2);
        lbl.setSize(xx, fm.getHeight());
        lbl.setOpaque(true);

        lbl.updateUI();
    }

    public void startButtonHandler()
    {
        timer = new javax.swing.Timer(300, new ActionListener() {
View Full Code Here

Examples of javax.swing.JLabel.updateUI()

        int xx = fm.stringWidth(desc);
        lbl.setLocation(p.x + 10, p.y - fm.getHeight() * 2);
        lbl.setSize(xx, fm.getHeight());
        lbl.setOpaque(true);

        lbl.updateUI();
    }

    public void startButtonHandler()
    {
        timer = new javax.swing.Timer(300, new ActionListener() {
View Full Code Here

Examples of javax.swing.JMenuBar.updateUI()

    harness.check(mb.getUI() instanceof BasicMenuBarUI);

    mb.setUI(new MultiMenuBarUI());
    harness.check(mb.getUI() instanceof MultiMenuBarUI);

    mb.updateUI();
    harness.check(mb.getUI() instanceof MetalMenuBarUI);
  }

  public void setBorderPainted(TestHarness harness)
  {
View Full Code Here

Examples of javax.swing.JPanel.updateUI()

      contentPane.add(mToolBarPanel, location);
    }

    contentPane.invalidate();
    contentPane.updateUI();
  }

  private void addContextMenuMouseListener(final JComponent c) {
    c.addMouseListener(new MouseAdapter() {
      public void mousePressed(MouseEvent e) {
View Full Code Here

Examples of javax.swing.JPanel.updateUI()

                          mReceiveTargetTable.put(currPlugin, selTargets);
                        }
                      }
                    });
              }
              targetPanel.updateUI();

            }
          } catch (Exception e1) {
            e1.printStackTrace();
          }
View Full Code Here

Examples of javax.swing.JPanel.updateUI()

    // end of adaption

    JPanel beginnerContainer = sideBar.getBeginnerContainer();
    beginnerContainer.removeAll();
    beginnerContainer.add(beginnerPanel);
    beginnerContainer.updateUI();
    beginnerPanel.cleanHiglights();

    ((JLabel) e.getSource()).setCursor(DEFAULT_CURSOR);

  }
View Full Code Here

Examples of javax.swing.JPanel.updateUI()

        masterPanel.add(left, BorderLayout.WEST);
        masterPanel.add(right, BorderLayout.EAST);

        this.setContentPane(masterPanel);

        masterPanel.updateUI();
    }
}
View Full Code Here

Examples of javax.swing.JTabbedPane.updateUI()

        TabContentPaneBorderKind contentBorderKind = (TabContentPaneBorderKind) contentBorderCombo
            .getSelectedItem();
        jtp.putClientProperty(
            SubstanceLookAndFeel.TABBED_PANE_CONTENT_BORDER_KIND,
            contentBorderKind);
        jtp.updateUI();
        jtp.repaint();
      }
    });

    controls.add(new JLabel("Content border kind"));
View Full Code Here

Examples of javax.swing.JTextArea.updateUI()

                    JTextArea area = (JTextArea) component1;
                    Dimension size = area.getSize();
                    size.width = 1;
                    area.setSize(size);
                    area.revalidate();
                    area.updateUI();
                }
            }
        }
    }
}//GEN-LAST:event_formComponentResized
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.