Am new to java Collection classes ...
I have a method that returns a HashMap object with the following signature
HashMap<String, ArrayList>
The key is of type String, while the 'value...
Hi! I'm trying to make a program in either C/ java/vb which captures the name of the files/directory date, time of when the files or directory was created, modified, accessed. This data shoul...
Is there a way to generate Domain Objects (properly mapped) using hibernate(or any other framework or tool even) based on an already created database?
I'm thinking of using the System.setProperty method to store some data which is required by many threads within my application.
I've never used this method before and so am interested in fi...
Can someone please tell me how can I create a Random String. Every time this method is called it should return a random string. I have a limit of 32 characters.
Please help
Hello!
I have a short question. In my years of object-oriented software development, I programmed both C++ and Java. Some guys programming C++ were chaotic, using no naming conventions. The...
This is my Java program, it works fine on Windows XP. However, when I run it on Linux, it cannot write file even add new record to the database, I don't know why. The main point is, this java ...
I am trying to get a program to run in Eclipse and I am getting this error:
"The selection cannot be launched, and there are no recent launches."
What does this mean and how do I fix it?
I am trying to connect to an Access database via sun's JDBC - ODBC driver using the Squirrel SQL Client.
I have set-up a User DSN called "MyDB" under OSBC Data Source Adminsitrator. I canno...
I'm new to java programming and I don't know NetBeans 6 too much, I've used the external library "commons-net-1.4.1-2005-12-03.jar" from Apachi.org in a Telnet application and I would like to ...
is there any way to recocnize the string if it was latine character(arabic) or enlish character
the down will reverse any type of character no and the numiric data will be the same
what i ...
How do I access the values from a properties file using the ResourceBundle class?
Currently I have this properties file under \WEB-INF\classes and it works fine using the code
'ResourceBu...
Hi all!
I have created my own renderer in JFreeChart (extending XYLineAndShapeRenderer) to draw images at the given locations on the chart
This works well
But the legend shows a defau...
I have to run a Java class from a command prompt.
One one the jars which I need to set in the classpath is in "Program Files"
So when I run the class using
java -classpath .;c:\Progr...
Hello Experts,
I need your assistance about this error:
GUIClient.java:256: cannot find symbol
symbol : method showMessageDialog(<anonymous java.awt.event.ActionListener>,java.lang.Strin...
Have been using hibernate lately?...
why i might be getting this error message when running my web appl. developped using Hibernate?
ERROR MESSAGE:
Could not parse mapping document MY.HIBE...
My applet gets png file from the server and sends it to default printer.
Browser window refreshes every X seconds, updating parameter
in applet tag.
Start() makes call to printMe() method....
I would like to create a java chat application as a project.This chat application need not have GUI .I have to implement some security mechanism like DES.Please suggest a step by step procedur...
Hi Im using this code, but I get an error, I already check telnet and outlook in the same machine and it works fine.
public static void sendMail() {
try{
Properties properties ...
Hi,
I am using
Message mailMsg = new MimeMessage(session); to send mail.
Here I got requirement that,
There mail server generally return back email to FROM email address if FROM e...
Error. The server encountered an unexpected condition which prevented it from fulfilling the request.
java.lang.UnsupportedClassVersionError: pagecompile/_apps/_en_US/_10_16_4_247/_Remdy...
String x = "version=""1.0"" ";
Thanx in advance.
how do I get an silent install with this Java "jre-1_5_0_15-windows-i586-p.exe" I have tried this command
\\Servername\folder1\folder2\...... \jre-1_5_0_15-windows-i586-p.exe /S/v "TYPICA...
Hi,
I am getting following exceptio, using hibernate with Derby
org.hibernate.exception.GenericJDBCException: Cannot close connection
at
org.hibernate.exception.SQLStateConvert...
Hi,
I downloaded the standard JAVADOC when I downloaded the current JAVA JDK.
I can consult the unpacked JAVADOC easily, but ECLIPSE can't find it;
I get an exception mesage whenever I hove...