[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Wed Nov 17 17:15:26 UTC 2004
kawas
Wed Nov 17 12:15:26 EST 2004
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool
In directory pub.open-bio.org:/tmp/cvs-serv9513/org/biomoby/client/gui/serviceInstanceCreationTool
Modified Files:
ServiceCreationTool.java ServiceInstancePanelFactory.java
Log Message:
changed some colors, etc.
Eddie
moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool ServiceCreationTool.java,1.1,1.2 ServiceInstancePanelFactory.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceCreationTool.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceCreationTool.java 2004/09/27 21:29:15 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceCreationTool.java 2004/11/17 17:15:26 1.2
@@ -8,6 +8,7 @@
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
+import java.awt.Font;
import javax.swing.JApplet;
import javax.swing.JFrame;
@@ -35,7 +36,7 @@
/* private member variables */
private ServiceInstancePanelFactory pf = null;
private JTabbedPane pane = new JTabbedPane();
- private final Color color = new Color(145, 206, 0);
+ private final Color color = new Color(182, 221, 141);
private final Color toolBarColor = new Color(00, 102, 51);
private Service service = null;
private String fieldValidationErrorMsg = "";
@@ -81,6 +82,8 @@
getContentPane().add(pane, BorderLayout.CENTER);
// used a tabbedpane so that i could swap panels
pane.setOpaque(true);
+ pane.setBackground(color);
+ pane.setFont(new Font("Dialog", Font.BOLD, 16));
JPanel empty = pf.createEmptyPanel();
empty.setBackground(toolBarColor);
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.java 2004/09/27 21:29:15 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.java 2004/11/17 17:15:26 1.2
@@ -55,7 +55,7 @@
private ServiceActionListener bal;
private ServiceFocusListener tfl;
private boolean RADIO_SELECTED = false;
- private final Color color = new Color(145, 206, 0);
+ private final Color color = new Color(182, 221, 141);
private final Color toolBarColor = new Color(00, 102, 51);
private ServiceTypeTree tree = null;
private MobyTree mobyTree = null;
@@ -163,14 +163,14 @@
// create a greeting and some instructions
JLabel greet = new JLabel();
- String greetTxt = "<html><FONT color=006600 size=6><P><B>Moby Service Builder</B></P></FONT>"
- + "<font color=009900 size=5>"
+ String greetTxt = "<html><FONT color=006633 size=6><P align=center><B>Moby Service Builder</B></P></FONT>"
+ + "<font color=006633 size=4>"
+ "This interactive tool will allow you to create<br>"
+ "a new Moby Service. To begin, fill in the<br>"
+ "following information regarding your new service."
+ "</font>" + "</html>";
greet.setText(greetTxt);
- pan.add(greet, BorderLayout.NORTH);
+ pan.add(greet, BorderLayout.PAGE_START);
// create the fields for use <- associate with the fields private member
// variable in the serviceCreationTool
More information about the MOBY-guts
mailing list