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); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
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); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
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); }