Forum: Java Oct 6th, 2009 |
| Replies: 2 Views: 217 import java.io.Writer;
import java.io.PrintWriter;
Try this
Regards
Sincerelibran |
Forum: Java Oct 6th, 2009 |
| Replies: 19 Views: 1,067 use this
MainProgram mp = new MainProgram();
mp.setVisible(false);
This way you can hide the MainProgram JFrame. Don't think of disposing it. This is another alternative.
Regards
... |
Forum: Java Oct 6th, 2009 |
| Replies: 6 Views: 286 The query may be like this select * from product where shape='circle |
Forum: Java Oct 6th, 2009 |
| Replies: 6 Views: 286 Please make it clear of what exactly you want to do in a database? Do you want to search the productname, or expirydate etc. If you can make it clear then I can help you out
Regards
... |
Forum: Java Jul 7th, 2009 |
| Replies: 7 Views: 497 Dear Friend,
-d stands for deprecated. That means, some of the functions/features which were used in the earlier versions of java and not included in the newer versions. You... |
Forum: Java Jul 7th, 2009 |
| Replies: 3 Views: 503 Dear Friend,
Java filename should start with a capital letter. And it must match the name you have given to the class. If you have given the name, for example:
class Sample {... |
Forum: Java Jul 7th, 2009 |
| Replies: 12 Views: 586 Dear Friend,
Never get frustrated while doing programming. Do one thing. Check this
/**
* Coordinate.java -
* Class that represents an x,y coordinate.
*
* @author... |
Forum: Java Jul 7th, 2009 |
| Replies: 3 Views: 681 Kindly declare double m_d = 0.0; above the updateMyPanel() method. |
Forum: Java Jul 7th, 2009 |
| Replies: 8 Views: 331 Do you want to see both of them at the same time or one at a time? |
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2009 |
| Replies: 10 Views: 654 use distinct
select distinct vFirstName from User
where vFirstName is the attribute/field and User is the table name |
Forum: Java Jul 7th, 2009 |
| Replies: 2 Views: 278 Use Java Swing for developing the web browser. You have to compulsorily use Threads. In order to perform multithreading it is very much needed. Remember we can do more than one task at a time using... |
Forum: Java Apr 27th, 2009 |
| Replies: 3 Views: 1,420 Dear Friend, You have to store the values taken from the database directly to the ResultSet Object. That is it must be like:
ResultSet rest = statement.execute(); After that you can take out each... |
Forum: Java Apr 25th, 2009 |
| Replies: 3 Views: 1,420 Dear Friend, this error can be due to the difference in data type of the column name and the data you're passing. The data type doesn't match. Maybe in the database the Field is defined as type... |
Forum: HTML and CSS Apr 24th, 2009 |
| Replies: 16 Views: 3,800 kindly make the following changes in your code. </style></head><body><center> and in the first table include <table cellpadding="0" cellspacing="0" border="0" class="style4" align="center">. The... |
Forum: Java Apr 24th, 2009 |
| Replies: 4 Views: 1,303 Dear Friend, you have to use import java.text.*; since the Format and DateFormat are a part of java.text package. If you do that you won't get any error message. |
Forum: Java Mar 9th, 2009 |
| Replies: 5 Views: 269 Every program has a default thread, a single sequential flow of control of the program. You can't use the sleep method to make that thread sleep for a specific amount of time. The value that is... |