protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }
protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }
public ImportTypePage(OWLEditorKit owlEditorKit) { super(ID, "Import type", owlEditorKit); setInstructions("Please choose an option:"); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton); box.add(webRadioButton); JRadioButton loadedOntologyButton; box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); setContent(box); }
protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }