protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please choose what you want to do in order to resolve the missing import"); ButtonGroup bg = new ButtonGroup(); Box box = new Box(BoxLayout.Y_AXIS); specifyFileRadioButton = new JRadioButton("Specify a file containing the ontology"); box.add(specifyFileRadioButton); bg.add(specifyFileRadioButton); box.add(Box.createVerticalStrut(3)); specifyLibraryButton = new JRadioButton("Add a new ontology library that contains the ontology"); box.add(specifyLibraryButton); bg.add(specifyLibraryButton); specifyFileRadioButton.setSelected(true); parent.add(box, BorderLayout.NORTH); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please choose what you want to do in order to resolve the missing import"); ButtonGroup bg = new ButtonGroup(); Box box = new Box(BoxLayout.Y_AXIS); specifyFileRadioButton = new JRadioButton("Specify a file containing the ontology"); box.add(specifyFileRadioButton); bg.add(specifyFileRadioButton); box.add(Box.createVerticalStrut(3)); specifyLibraryButton = new JRadioButton("Add a new ontology library that contains the ontology"); box.add(specifyLibraryButton); bg.add(specifyLibraryButton); specifyFileRadioButton.setSelected(true); parent.add(box, BorderLayout.NORTH); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please choose what you want to do in order to resolve the missing import"); ButtonGroup bg = new ButtonGroup(); Box box = new Box(BoxLayout.Y_AXIS); specifyFileRadioButton = new JRadioButton("Specify a file containing the ontology"); box.add(specifyFileRadioButton); bg.add(specifyFileRadioButton); box.add(Box.createVerticalStrut(3)); specifyLibraryButton = new JRadioButton("Add a new ontology library that contains the ontology"); box.add(specifyLibraryButton); bg.add(specifyLibraryButton); specifyFileRadioButton.setSelected(true); parent.add(box, BorderLayout.NORTH); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please choose what you want to do in order to resolve the missing import"); ButtonGroup bg = new ButtonGroup(); Box box = new Box(BoxLayout.Y_AXIS); specifyFileRadioButton = new JRadioButton("Specify a file containing the ontology"); box.add(specifyFileRadioButton); bg.add(specifyFileRadioButton); box.add(Box.createVerticalStrut(3)); specifyLibraryButton = new JRadioButton("Add a new ontology library that contains the ontology"); box.add(specifyLibraryButton); bg.add(specifyLibraryButton); specifyFileRadioButton.setSelected(true); parent.add(box, BorderLayout.NORTH); }