Hello,
I'm somewhat new to Java, but was working with it for non-GUI programs ...
But now I need to write a client application ... and I struggling with swing ...
I've read some threads i...
I installed J2SE SDK 5. I added an entry in the PATH enviroment variable that points to the /bin directory inside the main Java directory.. I created a Dog.class file and a DogTestDrive.class ...
Hello!
I want to ask am I possible to make exe from java program on windows system?
I am using NetBeans as tool to develop java program, is NetBeans able to make exe file?
If no, how can ...
hi,
i've got a problem that is driving me mad so i've assigned a bunch of points to this one (500).
i am trying to collect mail from a straight plain text pop3 account using javamail. h...
There is a master script named ScriptAll.java which contains the statements callscript("Script001");callscript("Script002"); .... callscript("Script500");
Each Script001, Script002, till S...
hi guys
I have a code like this
List CustomerVOList = getMyVOList();
CustomerVOList contains objects of type CustomerVO
CustomerVO contains
int id;
String name;
setId()
getId...
I have implemented a very simple sort in my class (see below).
This works really well when i issue
Collections.sort(orderList);
My question is, it is possible to set up different sort m...
i have to design component like below and i tried following code but did not come right...
---------------------------------------------------------------
Label1
combobox1
Label2
textBox...
Hi,
i have a console application that uses at least 10 jar files, how can i package the application and the jar files into one executable jar file?
this is an eclipse project, the jar file ...
Hi,
In my application i need to read an xml nodes and do some process for each node and prepare response for each node. It is very slow when i read each node one by one.. instead i want to pr...
Eclipse has been complaining about the type safety of a line in my code that I can't seem to fix. According to the jdom javadoc(http://www.jdom.org/docs/apidocs/), it's method signature is: pu...
I have a web start application which consists of several jar files (packaged into a war file).
I have the certificate that was used to originally sign the jars.
I want to add a new file to...
I have a problem with multiple logs in one class.
The problem is that the logs are being written, but then when the program is done, the files are being erased (contain nothing). I can see th...
hi,
here is my application archietcture, 2 layers (presentation layer with struts and business layer using directly hibernate), i have no Data integration layer.
i am using a DataSource ...
Hi,
I have a file with basically 2 types of text lines, PRINTs and TOSes. I am trying to read through the file and parse them out using a Scanner object. It is however very slow. I was wonder...
Suppose I have MyClass and a subclass of it called MySubClass
MySubClass contains a method called getSomeInt();
How do I call it?
Neither of the following compile.
if ( x instanceof MySu...
Can you bind a jTree to a datasource in NetBeans IDE? I have dragged a tree onto my form and need to link it up to a table in the database. It is easy enough to link to a jTable but cannot s...
I need java source code to locate all zip codes within x miles of a zip code.
Hello Experts,
Is it possible for an app to monitor the output of another app. Say i want to pass an object from one app to another. Is this possible ? An example:
APP1: Waits to read a ...
I hav a Jpanel and i hava button on the panel. When i click the button i populate a table and make it visible in the same panel. but i am able to see the contents only if i move off that panel...
When try to uninstall the application, java.exe still has files in use. Killing java.exe solves the problem but is not an option because other applications might be using java.exe. I would...