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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mydavor
  • Content: Threads
  • Order by date
  1. mydavor

    xml to Java code converter

    Do you know any tool that can generate Java code from an xml ? I could only create an xml file with Sun Bean Builder, version 0.6 ? Can it generate Java code? How can I download version 1.0 ? I found that certain fetures of bean Builder gen be accessed via it Project Propery, but I could not...
  2. mydavor

    JTable.setValueAt does not fold string

    javax.swing.JTable tableEnv = new javax.swing.JTable(); tableEnv.setValueAt((Object)EnvText1, 0, 0); String EnvText1 = "ENERGY USE AND GREENHOUSE EMISSIONS" + "\n " + "What effect will the proposal have on energy" + "\n " + "consumption and greenhouse gas emissions"; I am trying to insert a...
  3. mydavor

    NullPointerException, at javax.swing.ImageIcon.<init>(Unknown Source)

    THIS PIECE OF CODE SUDDENLY STARTED FAILING FOR SOME IMAGES, IT USED TO WORK FINE. THE IMAGES ARE AVAILABLE, AND THE SAME STUFF WORKS PERFECTLY WHEN ACCESSED FROM A REMOTE BOX. AT FIRST I SUSPECTED ON MISSING JAR, SO I CHECKED MY CLASSPATH MANY TIMES, BUT NO, IT FAILS ONLY FOR A FEW IMAGES -...
  4. mydavor

    java.lang.NoClassDefFoundError

    I am getting the following error: Error loading class: DPSysNavClass java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: DPSysNavClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/applet/AppletPanel.securedClassLoad at...
  5. mydavor

    Api over Tomcat loses database connection

    Sometimes I stop using my application for 10 minutes or more, and when I am back and start using it, it stalls and a debug message "NO CONNECTION TO DATABASE" appears in the Tomcat window. Why is that so ? Do I need some keep-alive messages ? If yes how can they be implemented ?
  6. mydavor

    no method body

    What is the meaning/function of the following declaration of getInitData method ? There is no body whatsoever, so what does getInitData actually do (obviously it is not inherited)? import java.util.Vector; import javax.servlet.http.*; public interface DataSelectionServInterface { public...
  7. mydavor

    Cannot call a servlet, all other working

    The following piece of code cannot initialise any servlet, although all servlets used, exist in the given directory (http://localhost/eDevPro/servlet ie %CATALINA_HOME%\webapps\eDevPro\WEB-INF\classes) and although they can be called from applets. Can you please, have a sanity check. Thanks in...
  8. mydavor

    java ia NOT reading the latest .class

    symantec.itools.awt.shape.HorizontalLine horizontalLine1 = new symantec.itools.awt.shape.HorizontalLine(); This line of Java code produces the error below. Oddly enough, when I comment the line out or try to debug inserting a few printlns it still reports the error in the very SAME line (392)...
  9. mydavor

    java.lang.NoClassDefFoundError

    When loading an applet, using Tomcat, I receive the error above. The jar containing the mentioned class and many other symantec classes is available in any possible directory and of course %CATALINA_HOME%\common\lib and is in the CLASSPATH. How can I fix the problem ...
  10. mydavor

    jdbc driver in Java Servlet/Tomcat doesn't load

    The piece of code loading oracle.jdbc.driver.OracleDriver succeedes in JAVAApi but not within a Servlet over Tomcat: System.out.println("Loading the driver"); Class.forName("oracle.jdbc.driver.OracleDriver"); // Getting the connection System.out.println("Getting the connection to demo@demo")...
  11. mydavor

    where is com.sun.java.swing.JButton ?

    I cannot find com.sun.java.swing.SwingConstants com.sun.java.swing.JButton com.sun.java.swing.JApplet Every jsdk comes with src.zip that contains com.sun.java.swing.platform but not the above classes. Where do you think I can find it. Also do you know where to find following...
  12. mydavor

    javax.servlet.http.*

    My program requires the above package, which seems does not come with JDK. I have on my box only javax.servlet which seems not to contain what is needed. Where can I download javax.servlet.http from or can someone send it to me ? Thanks
  13. mydavor

    Class Hierarchy in JBuilder or other IDE

    Is it possible to observe the class hierarchy for a package in Jbuilder? If not, how can the main class be determined in a large package (of more than 50 files? Why "make project" and "build project" in jbuilder do not build all the files? Would you suggest some other Java IDE freeware that...
  14. mydavor

    Panel doesn appear in browser, only appletviewer

    My prog has 2 vertical panels, they both appear when appletviewer is used, but with browser, the panel1 when it has many entries, it doesn't show up: GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill =...
  15. mydavor

    resizing the applet as needed

    My applet shows a name list that can have from 5 to 100 entries. I would like that it streches as needed, possibly having the scrolling bar when there are many entries. On the contrary, at the moment I depend on HEIGHT in my .html file, which is often too small or too big, and obviously before...
  16. mydavor

    access denied (java.net.SocketPermission demo resolve)

    You'll recognise my ignorance about www applications, but I need urgent help. The java program below connects to oracle and retrievs the data. Yet, same piece of code within an applet cannot connect to the same db. Instead it receives the access denied (java.net.SocketPermission demo resolve)...
  17. mydavor

    checkbox positioning

    I am using Java radio buttons and checkboxes. They are shown on the left from the text and I would them displayed on the right hand side from the text: red thecheckbox green thesheckbox blue thecheckbox How can this be achieved ? What is the best way to create something like: Name1...
  18. mydavor

    jdbc driver to Oracle8 on Win XP

    I am writing program using a jdbc driver that should connect to Oracle 8. All of my calls below failed with "No suitable driver" or an exception showing that the specified driver is wrong. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); Class.forName("sun.jdbc.JdbcDriver")...
  19. mydavor

    Jbuilder class hierarchy etc

    Is it possible in jbuilder to observe the class hierarchy for a package ? If not, how can the main class be determined in a large package (of more than 50 files) that someone else wrote ? Why "make project" and "build project" in jbuilder do not build all the files ? Thanks in advance
  20. mydavor

    java.lang.NoClassDefFoundError - package issue

    I presume this problem has to do with the CLASSPATH, but I it is set (".;C:\jdk1.4;C:\jdk1.4\demo") in System as well as -classpath as below, still it works only when its package is explicitely called: C:\jdk1.4\demo>java demo.SprinklerSystem valve1 = null C:\jdk1.4>java demo.SprinklerSystem...

Part and Inventory Search

Back
Top