From: <lor...@us...> - 2008-03-27 08:27:08
|
Revision: 731 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=731&view=rev Author: lorenz_b Date: 2008-03-27 01:26:58 -0700 (Thu, 27 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/tools/ore/IntroductionPanel.java Modified: trunk/src/dl-learner/org/dllearner/tools/ore/IntroductionPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/tools/ore/IntroductionPanel.java 2008-03-27 06:53:43 UTC (rev 730) +++ trunk/src/dl-learner/org/dllearner/tools/ore/IntroductionPanel.java 2008-03-27 08:26:58 UTC (rev 731) @@ -17,9 +17,7 @@ private JTextArea instructionsField; private JScrollPane jScrollPane1; - - - + private JLabel welcomeTitle; private JPanel contentPanel; @@ -27,21 +25,11 @@ public IntroductionPanel() { - - - - contentPanel = getContentPanel(); - - - setLayout(new java.awt.BorderLayout()); - - - //add(leftPanel, BorderLayout.WEST); - + JPanel secondaryPanel = new JPanel(); secondaryPanel.add(contentPanel, BorderLayout.NORTH); add(contentPanel, BorderLayout.CENTER); @@ -51,8 +39,11 @@ private JPanel getContentPanel() { JPanel contentPanel1 = new JPanel(); + JPanel jPanel1 = new JPanel(); + contentPanel1.setLayout(new java.awt.BorderLayout()); + jScrollPane1 = new JScrollPane(); instructionsField = new JTextArea(); @@ -69,38 +60,24 @@ instructionsField.setFont(new Font("Serif",Font.PLAIN,14)); instructionsField.setText("This is an test of a wizard dialog, which allows a knowledge engineer to select " + "a concept of an ontology which should be (re)learned. \n\nOn " + - "the next page, choose a JAR file that contains some components. It will find any " + - "JavaBeans listed in the manifest, and also let you add classes from the JAR file. " + - "When the resulting NetBeans plug-in is installed in NetBeans, the components you " + - "selected will be on the Component Palette, and can be dragged and dropped onto Swing " + - "forms. The library display name you enter is also the name that will be used for the " + - "category in the component palette where your components will appear."); + "On the next page, choose a OWL file that contains an ontology. It will find any " + + "concepts listed in the manifest, and also the positive and negative examples of the concept. " + + "When the concept you selected is learned, you are able to add the axiom to the ontology " + + "and after all you might be able to repair if necessary. " ); instructionsField.setWrapStyleWord(true); jScrollPane1.setViewportView(instructionsField); - - - - - + welcomeTitle = new JLabel(); welcomeTitle.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(0, 0, 0))); - - - - contentPanel1.setLayout(new java.awt.BorderLayout()); - welcomeTitle.setFont(new java.awt.Font("MS Sans Serif", Font.BOLD, 14)); welcomeTitle.setText("Welcome to the DL-Learner ORE-Tool!"); contentPanel1.add(welcomeTitle, java.awt.BorderLayout.NORTH); - + jPanel1.setLayout(new java.awt.GridLayout(0, 1,0,0)); - - //jPanel1.add(blankSpace); - - jPanel1.add(jScrollPane1); - contentPanel1.add(jPanel1, java.awt.BorderLayout.CENTER); + + return contentPanel1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |