Hrishikesh Hemade

Greenhorn
+ Follow
since Mar 17, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Hrishikesh Hemade

Hi ,
your query should be like this :



you need to modify your for loop to add single quote.



hello,
I have design a small GUI for login with Ok and Exit button. And on successful login i check for the updating the database. So when i'm doing this update i'm calling a Frame with progressbar and an ICON if all the data is updated then this frame is disposed and i'm calling another Frame.
login is diffrent class with it's Componenets and updating database is another class with no GUI componenets and Progressbar is different class.

So the problem is i'm not able to display the progress bar class components.It's showing blank frame with no components.If i write main Progress bar it show's every component.

Thank you,
19 years ago
Thank you,
but what is the default Xms for JVM. I have deleted the -Xms entry.

Thank you
19 years ago
Actully i have changed JVM heap memory -Xms to something i have changed it after doing this thing it's give me the error. So anyone know how to fix it. I have removed the -Xms.

Thank you
19 years ago
Thank you
19 years ago
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space


does any one now Why this exception is coming,earlier code was working fine. Can anyone help

Thank you
19 years ago
I have a executable jar file which pop's up a GUI but while uploading GUI it should populate Data in a combo box with the help of MySql database but it doesn't it gives an error java.lang.ClassnotFoundException : com.mysql.jdbc.Driver, i no it's mysql driver i have downloaded it and added to classpath of System env but it still gives the exception. Even tried with giving classpath excplicitly java -classpath C:\mysql\mysql.jar -jar GUI.jar but while popuing up GUI it throws the exception.
So guy's can you help me with this.
Thank you.
19 years ago
i have frame size set to (750,415) and used pack()so that all the componenets are displayed and i have added an WindowStateChaged Listener to see frame has been resize. After the window state change then i tooked the size of the frame ie Dimension size=frame.getSize()/super.getSize(); then i set that size to panel size. panel.setSize(size); then revaildate()/repaint(); i have used but the size of panel is not getting set to Frame size so what is the problem and how to solve it.

Thank you.
19 years ago
Need help,
i have opened a file using RandomAccessFile in readmode and i have saved file length when file was first read, now the file is updated i.e. new lines are added to file which are written line by line . Now i want to go to updated data i.e. to new lines added to file without reading the file from first but to start with last offset. I have tried using file.seek(prevoius stored file length) but it skips few character data starting of the newlines added into the file. So i need help to go to newline after the last file length.
19 years ago