186
|
|
private final void createToolbar() {
|
187
|
|
JToolBar toolBar = new JToolBar("Toolbar");
|
188
|
|
toolBar.setFloatable(false);
|
189
|
|
toolBar.setRollover(true);
|
190
|
|
this.add(toolBar, BorderLayout.NORTH);
|
191
|
|
|
192
|
|
final JButton newWindowButton = new JButton(this.newBookAction);
|
193
|
|
newWindowButton.setText("");
|
194
|
|
toolBar.add(newWindowButton);
|
195
|
|
|
196
|
|
final JButton savebutton = new JButton(this.saveAction);
|
197
|
|
savebutton.setText("");
|
198
|
|
toolBar.add(savebutton);
|
199
|
|
|
200
|
|
toolBar.addSeparator();
|
201
|
|
|
202
|
|
final JButton deleteButton = new JButton(this.deleteAction);
|
203
|
|
deleteButton.setText("");
|
204
|
|
toolBar.add(deleteButton);
|
205
|
|
}
|