Use the brushed metal look, and improve the toolbar to fit within that.
- M jbidwatcher/trunk/src/com/jbidwatcher/app/MacFriendlyFrame.java view
- M jbidwatcher/trunk/src/com/jbidwatcher/ui/JBidToolBar.java view
| 1000 | 1025 | |
|---|---|---|
| 57 | 57 | setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); |
| 58 | 58 | setIconImage(new ImageIcon(iconURL).getImage()); |
| 59 | 59 | |
| 60 | getRootPane().putClientProperty("apple.awt.brushMetalLook", "true"); | |
| 61 | ||
| 60 | 62 | JPanel headerBar = JBidToolBar.getInstance().buildHeaderBar(this, tabManager); |
| 61 | 63 | |
| 62 | 64 | mStatusBar = new JLabel("Ready!", SwingConstants.LEFT); |
| 803 | 1025 | |
|---|---|---|
| 54 | 54 | establishMenu(inFrame, inAction); |
| 55 | 55 | |
| 56 | 56 | mBidBarPanel = new JPanel(new BorderLayout()); |
| 57 | mBidBarPanel.setBorder(BorderFactory.createEtchedBorder()); | |
| 57 | if(!Platform.isMac()) mBidBarPanel.setBorder(BorderFactory.createEtchedBorder()); | |
| 58 | 58 | |
| 59 | 59 | mHeaderStatus = new JLabel("", SwingConstants.RIGHT); |
| 60 | 60 | mBidBarPanel.add(mHeaderStatus, BorderLayout.EAST); |
| --- | --- | |
| 98 | 98 | bidBar.setFloatable(false); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | if(Platform.isMac()) { | |
| 102 | bidBar.putClientProperty("Quaqua.ToolBar.style", "title"); | |
| 103 | } | |
| 104 | ||
| 101 | 105 | bidBar.setRollover(true); |
| 102 | 106 | |
| 103 | 107 | // update (?) |
