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...
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...
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 -...
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...
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 ?
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...
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...
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)...
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 ...
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")...
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...
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
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...
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 =...
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...
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)...
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...
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")...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.