

S1+=GT._("An open-source editor for 2D chemical structures.") String s1="JChemPaint " + version + "\n" String version=JCPPropertyHandler.getInstance(true).getVersion() TrayIcon=new TrayIcon(i,"Gmote",popupMenu) ImageIcon i=new ImageIcon(("/res/gmote_icon_s.png")) Item.addActionListener(logFolderListener) Item=new JMenuItem("Show settings and logs folder") Item.addActionListener(ipAddressListener) Item=new JMenuItem("Show local ip address") Item.addActionListener(mediaPathListener) Item=new JMenuItem("Change media paths") Item.addActionListener(settingsListener)

JMenu settingsMenu=new JMenu("Settings") If (Integer.parseInt(System.getProperty("java.version").substring(2,3)) >= 5) tProperty("","false") tLookAndFeel(UIManager.getSystemLookAndFeelClassName()) UIManager.put("dataprocess.edit",new ImageIcon(("/images/edit.gif")))

UIManager.put("py",new ImageIcon(("/images/Copy.gif"))) UIManager.put("dataprocess.remove",new ImageIcon(("/images/exclude.png"))) UIManager.put("dataprocess.add2",new ImageIcon(("/images/Add2.gif"))) UIManager.put("dataprocess.add",new ImageIcon(("/images/include.png"))) UIManager.put("nfigure",new ImageIcon(("/images/configure.gif"))) UIManager.put("dataprocess.execute",new ImageIcon(("/images/Manager.gif"))) UIManager.put("dataprocess.text",new ImageIcon(("/images/text.gif"))) UIManager.put("dataprocess.alpha_sort",new ImageIcon(("/images/alpha_mode.gif"))) UIManager.put("dataprocess.exit",new ImageIcon(("/images/exit.gif"))) GetContentPane().add(splitPane,BorderLayout.CENTER) PropertyTitlePanel=new JTitlePanel("Properties",null,propertyPanel,BorderFactory.createEmptyBorder(4,4,4,4)) ĬomponentTitlePanel=new JTitlePanel("Component",icon,componentPanel,BorderFactory.createEmptyBorder(4,4,0,4)) URL iconURL=beans.getClass().getResource("images/" + beans.getName() + "Color16.gif") tBorder(BorderFactory.createLineBorder(Color.GRAY)) īasicSplitPaneDivider divider=((BasicSplitPaneUI)splitPane.getUI()).getDivider() SplitPane=new JSplitPane(JSplitPane.VERTICAL_SPLIT) GetContentPane().add(toolBar,BorderLayout.NORTH) GetContentPane().setLayout(new BorderLayout()) ((JYearChooser)beans).adjustWidthToMaximumValue()

((JYearChooser)beans).setMaximum(((JSpinField)beans).getMaximum()) ((JSpinField)beans).adjustWidthToMaximumValue() JOptionPane.showMessageDialog(null,"You have executed a risk group check on a sequence that came back\n" + "as being highly similar to a select agent.\nSuch materials could be highly dangerous and potential illegal!\n" + "You should examine your design closer before proceeding.","Select Agent detected!",JOptionPane.INFORMATION_MESSAGE,bslicon) JOptionPane.showMessageDialog(null,"You have executed a risk group check on a sequence that came back\n" + "as Risk Group 4.\nSuch materials could be highly dangerous!\n" + "You should examine your design closer before proceeding.","Risk Group 4 material!",JOptionPane.INFORMATION_MESSAGE,bslicon) ImageIcon bslicon=ImageUtilities.loadImageIcon("org/clothocore/images/BIOHAZARD.png",false) Called from part, vector, and Feature factory methods. public class NewJFrame extends javax.swing.* This is the general method called to perform all biofafety checks on a DNA sequence. The JPanel class' paintComponent can't invock when i run the program in NetBeans. Image gathered into image object but can't displayed on panel (Now i am using JPanel instad on JLabel)
