item.setAction(type.action()); final NSButton button = NSButton.buttonWithFrame(new NSRect(0, 0)); button.setBezelStyle(NSButtonCell.NSTexturedRoundedBezelStyle); button.setImage(type.image()); button.sizeToFit();
toolbarMenu.setSubmenu(editMenu); final NSButton button = NSButton.buttonWithFrame(new NSRect(0, 0)); button.setBezelStyle(NSButtonCell.NSTexturedRoundedBezelStyle); button.setImage(edit.image()); button.sizeToFit(); item.setAction(terminal.action()); final NSButton button = NSButton.buttonWithFrame(new NSRect(0, 0)); button.setBezelStyle(NSButtonCell.NSTexturedRoundedBezelStyle); button.setImage(terminal.image()); button.sizeToFit(); item.setPaletteLabel(BrowserToolbarItem.quicklook.label()); final NSButton button = NSButton.buttonWithFrame(new NSRect(0, 0)); button.setBezelStyle(NSButtonCell.NSTexturedRoundedBezelStyle); button.setImage(BrowserToolbarItem.quicklook.image()); button.sizeToFit(); item.setAction(type.action()); final NSButton button = NSButton.buttonWithFrame(new NSRect(0, 0)); button.setBezelStyle(NSButtonCell.NSTexturedRoundedBezelStyle); button.setImage(type.image()); button.sizeToFit();