Available Methods
- addTab ( )
- add ( )
- TOP
- setSelectedIndex ( )
- getTabCount ( )
- addChangeListener ( )
- SCROLL_TAB_LAYOUT
- RIGHT
- setPreferredSize ( )
- getSelectedIndex ( )
- getComponentAt ( )
- getComponents ( )
- insertTab ( )
- LEFT
- BOTTOM
- setTabLayoutPolicy ( )
- getSelectedComponent ( )
- HORIZONTAL
- setTabComponentAt ( )
- addMouseListener ( )
- setTabPlacement ( )
- getTabPlacement ( )
- revalidate ( )
- getUI ( )
- putClientProperty ( )
- setForeground ( )
- setFocusable ( )
- setSize ( )
- getTitleAt ( )
Related Classes
- java.io.File
- java.awt.Color
- java.awt.event.ActionEvent
- java.awt.event.ActionListener
- javax.swing.JPanel
- java.awt.Dimension
- javax.swing.JFrame
- java.awt.Font
- java.awt.event.MouseEvent
- javax.swing.JLabel
- javax.swing.JButton
- java.awt.event.KeyEvent
- java.awt.BorderLayout
- javax.swing.JOptionPane
- java.awt.Component
- javax.swing.JScrollPane
- java.awt.event.WindowEvent
- java.awt.Rectangle
- java.awt.Toolkit
- javax.swing.JTextField
- javax.swing.SwingUtilities
- javax.swing.ImageIcon
- javax.swing.JComponent
- java.awt.event.WindowAdapter
- javax.swing.JCheckBox
Java Code Examples for javax.swing.JTabbedPane#setForeground()
The following examples show how to use
javax.swing.JTabbedPane#setForeground() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StubsController.java From audiveris with GNU Affero General Public License v3.0 | 6 votes |
/** * Create the {@code StubsController} singleton. */ private StubsController () { stubsMap = new HashMap<>(); stubsPane = new JTabbedPane(); stubsPane.setForeground(Colors.SHEET_NOT_LOADED); // Listener on sheet tab operations stubsPane.addChangeListener(this); // Listener on invalid sheets display ViewParameters.getInstance().addPropertyChangeListener( ViewParameters.INVALID_SHEET_DISPLAY, this); // Key binding bindKeys(); }