List of usage examples for javax.swing JButton setOpaque
@BeanProperty(expert = true, description = "The component's opacity") public void setOpaque(boolean isOpaque)
From source file:org.ut.biolab.medsavant.client.view.component.SearchableTablePanel.java
private JButton niceButton() { JButton b = new JButton(); b.setBorder(null);//from www . j a v a 2s . c o m b.setBorderPainted(false); b.setOpaque(false); return b; }
From source file:org.ut.biolab.medsavant.client.view.genetics.GeneticsSection.java
private JButton createExportVCFButton() { JButton exportButton = new JButton("Export Variants"); exportButton.setOpaque(false); exportButton.addActionListener(new ActionListener() { @Override// www .j a v a2s . c om public void actionPerformed(ActionEvent e) { try { new ExportVCFWizard().setVisible(true); } catch (Exception ex) { ClientMiscUtils.reportError("Unable to launch Variant Export wizard: %s", ex); } } }); return exportButton; }