Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by godcomplex

  1. godcomplex

    j2sdk-1_4_0_03 installation on Redhat Linux Advanced Server problem

    If you installed java using an rpm, you will need to uninstall the old version of java before installing the new version. I can't remember the exact option that you need to pass rpm to uninstall, but I am sure that you could find it on-line or in the man pages for rpm. -gc "I don't look...
  2. godcomplex

    JAVA JCREATOR Number format exception DUE TOMORROW HELP!!!

    The sring you are passing to the parseDouble method is not a valid double number. I would print that string out before you try to turn it into a number. If it looks ok, try adding the actual decimal point. I'm not sure whether or not it is required when parsing the string. -gc "I don't...
  3. godcomplex

    java to exe

    Take a look at this thread: Thread269-276852 There sre some links listed that will provide you with apps that will turn your java program into an exe. -gc "I don't look busy because I did it right the first time."
  4. godcomplex

    Seeking advice: Creating msg board/forum.

    The technologies I would be looking at if I were you would be jsp/servlets, JDBC, rmi or EJB, and a backend database (I would use mySql or mSql for simplicity). Java would work very well for this solution. In fact I wrote an application just like it when I was in school with servlets, rmi...
  5. godcomplex

    Hyperlink on GUI app

    You can definitely make the text on a JLabel look like a hyperlink because JLabel's support HTML. I would then add a MouseListener to the JLabel and then catch the mouse click and launch the a browser using the Runtime.exec() method. There maybe an easier way to launch the browser, but this...
  6. godcomplex

    Compile Issue. Can't Find Class? Its there.

    AHHH HA HA HA! "I don't look busy because I did it right the first time."
  7. godcomplex

    Compile Issue. Can't Find Class? Its there.

    You don't need the import statement if you don't have the two classes in packages. Try removing the import Box; statement and it should work fine. -gc "I don't look busy because I did it right the first time."
  8. godcomplex

    Simplified Question regarding ComboBox

    Did you try putting your JComboBox into a JApplet instead of an Applet. Once again, SWING components and older components from before SWING sometimes do not play very nice together. -gc "I don't look busy because I did it right the first time."
  9. godcomplex

    Simplified Question regarding ComboBox

    And they are using Applet in conjunction with SWING components? Could you point me to the url where that example exists? -gc "I don't look busy because I did it right the first time."
  10. godcomplex

    Using Session variables

    You can get the session by using the getSession method on the request. You then can put an object into the session by using either the putValue or setAttribute method on an HttpSession depending on which version of the servlet API you are using. -gc "I don't look busy because I did it...
  11. godcomplex

    Simplified Question regarding ComboBox

    Well, a long shot is that you are mixing components. Applet and Swing might not play well together. Try using JApplet instead. -gc "I don't look busy because I did it right the first time."
  12. godcomplex

    Simplified Question regarding ComboBox

    Are there any exceptions being thrown out in the java console? -gc "I don't look busy because I did it right the first time."
  13. godcomplex

    please help with a newbie to programming

    It is important to import the packages that you intend to use at the top of your code. The package you need to import is java.io. Add this line to the top of your code: import java.io.*; -gc "I don't look busy because I did it right the first time."
  14. godcomplex

    How to set classpath in autoexec.bat?

    Windows XP has an option in the Control Panel to let you set environment variables. You should be setting your environment variables there, not in autoexec.bat. As far as your jars go, you should probably put those in a seperate spot from the jdk, and then just point the CLASSPATH to them...
  15. godcomplex

    Using carriage returns or newlines in a JLabel

    Jlabel's support HTML. Try doing this instead: String text=&quot;<HTML>&quot;; while(rs.next()){ text+=&quot;Name: &quot;+rs.getString(&quot;name&quot;)+&quot;Date: &quot;+rs.getString(&quot;date&quot;)+&quot;<BR>&quot;; } text = text + &quot;</HTML>&quot;; //JLabel is called label...

Part and Inventory Search

Back
Top