35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package javax.swing; |
package javax.swing; |
40 |
|
|
41 |
import java.awt.Component; |
import java.awt.Component; |
42 |
import java.awt.Container; |
import java.awt.Container; |
43 |
import java.awt.Dimension; |
import java.awt.Dimension; |
44 |
import java.awt.Graphics; |
import java.awt.Graphics; |
|
import java.awt.GridLayout; |
|
45 |
import java.awt.Insets; |
import java.awt.Insets; |
46 |
import java.awt.LayoutManager; |
import java.awt.LayoutManager; |
47 |
import java.beans.PropertyChangeListener; |
import java.beans.PropertyChangeListener; |
48 |
import java.io.IOException; |
|
|
import java.io.ObjectOutputStream; |
|
49 |
import javax.accessibility.Accessible; |
import javax.accessibility.Accessible; |
50 |
import javax.accessibility.AccessibleContext; |
import javax.accessibility.AccessibleContext; |
51 |
import javax.accessibility.AccessibleRole; |
import javax.accessibility.AccessibleRole; |
52 |
import javax.accessibility.AccessibleStateSet; |
import javax.accessibility.AccessibleStateSet; |
53 |
import javax.swing.plaf.ToolBarUI; |
import javax.swing.plaf.ToolBarUI; |
54 |
|
|
|
|
|
55 |
/** |
/** |
56 |
* JToolBar is a component that provides a toolbar to Swing programs. Users |
* JToolBar is a component that provides a toolbar to Swing programs. Users |
57 |
* can add buttons (or actions that will be represented by JButtons) as well |
* can add buttons (or actions that will be represented by JButtons) as well |