Hello.
I executed your code in ubuntu. It worked without any exceptions.
Please try to run again.
Syed.
Type: Posts; User: syedbhai
Hello.
I executed your code in ubuntu. It worked without any exceptions.
Please try to run again.
Syed.
Hello.
There is one config file somewhere in tomcat folder.
Did you go and change the size there? You already said you did. But still I wanted to make sure if you did the right way.
...
Hello.
If we want to modify an existing file by deleting its content this is the only basic solution.
(a) copy the data from the source file to a target file discarding the unrequired data.
...
Hello.
Very simple. Your entire code should run in a JFrame or JApplet.
And for input from keyboard use JOptionPane.
Syed.
Hello.
I did not talk of interaction with JLabels. JLabels are passive components which means users will never interact with them.
Still, if we want to display an image using JLabel I said its...
Hello.
I guess JLabel works very well with ImageIcon.
Can you post your code? Let me see the look-and-feel.
Syed.
Hello.
First, do you know what a prime number is?
Your logic says you don't.
Syed.
Hello.
I have asked you to write a console app in java. Not the one you have already written earlier.
Did you write one more separate console app just to ensure if the data is stored properly...
Hello,
Its 100% doable using C.
In fact C has API to do this.
Syed.
Hello.
I see. Thanks for the update.
Now can you write java console application. Just use plain JDBC. Insert some data using the program.
And read it at the command/shell prompt.
Let...
Hello.
Do you know the basic rule for doing animation using programming? If not please refer the chapter "Graphics Programming" in the textbook "Let us C" by Y Kanetkar. It talks about animation...
Hello.
I would suggest this.
Login to MySql database directly from the command prompt in windows or shell terminal in linux. Try to insert some data. And then read this data. See if you get...
Hello.
You can try the following:
(1) http://www.oracle.com/events/global/en/java-outreach/resources/java-a-beginners-guide-1720064.pdf
(2) Core Java 2 Fundamentals by Horstmann
(3)...
Hello,
I didn't get your question.
Do you mean how to run a java program as a windows service?
If yes there are third party utilities that you can use to convert a java class into windows...
Hello.
You can just give the full absolute path name for the hibernate config file in the java code.
And while running the program you need to set the classpath settings appropriately so that...
Hello.
Sure. Please find attached the screenshot. I wanted to attached the executable jar as well but looks like I can't do that.
If you get any questions please let me know.
The...
Hello.
If you want to evaluate arithmetic expressions you can directly parse the given expression into tokens and compute the answer.
Another much better way is to convert the given expression...
Hello.
I tried in Ubuntu.
It worked well.
Can you try again?
Syed.
Hello.
You can use JAXB as suggested earlier by someone.
You can also use JAXP to parse the XML document.
You can find sample programs by doing google search.
Syed.
hello,
are you talking about rotating a button or moving the button from extreme left to extreme right in the window?
Syed.
Hello,
You are just not printing the areas. Add print statements.
Syed.
Hi.
I am sorry. Its hbm2ddl.auto property. You are right.
Hibernate configuration seems to be ok. Can you show the mapping configuration?
Also, can you print the entire stack trace if...
Hello,
Check your hibernate configuration.
You need to set up the hbm2ddl_auto property appropriately.
Thanks,
Syed.
Hello.
The image did not help me.
Syed
Hello.
There is something called scope resolution operator in C++. It helps avoid ambiguity problems in multiple inheritance.
Syed.