Shirley Li

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

Recent posts by Shirley Li

Hi,
I also have an application which performs sorting of the columns. It works fine even though i have 800 to 900 rows. Are you using Java1.4?
shirley
22 years ago
Hi, Natha,
Actually, what i am trying to do is to deiconify the frame when it is being iconified by the users. I found the following code from the web
int state = frame.getExtendedState();
state = state & (~Frame.ICONIFIED);
frame.setExtendedState(state);
I tried it out in my program and it worked.
But, thanks for you help!
shirley
22 years ago
Hi,
Is there a java built-in methods in Java1.4 Swing which can save the search criteria, settings when user deiconified. And when the program tells the front end to iconified, the settings of the JFrame would still be the same??
For now, the program dispose the current window, and reopen it again using pack(), but the settings and search criteria for the front end would be lost??
Thanks,
shirley
22 years ago
Are there libraries to create XML?
Hi,
I need to modify the existing intranet and add a new functionality which is to export the existing data on the web page to an excel spreadsheet or a text file?? The existing GUI is written using AWT. Is there anyway to implement it with AWT or do I need to use something else? If i can't use AWT, what can I use??
Thanks so much!!
23 years ago
thanks, peter

Originally posted by Peter Tran:
Shirley,
You'll have to do this via code. You can't get the JDBC to return you 1 row if the database really contains 5 rows to hold the information.
-Peter


hi, Bosun,
Thanks very much!! i'll try that.
shirley
Hi,
I am just wondering if anyone have any suggestions for me:
Right now, I am working on connecting to the DB and to display the data. It should be pretty straight forward using JDBC. However, I have a problem with displaying the data. I am pulling out the price for 5 consecutive days for each ID. So, the way the data displays on the DB is 5 seperate rows with one ID. The way I want to do it is 5 days price on one row, next to each other with the corresponding ID.
Any suggestions on how to do this will be greatly appreciated!
thanks much,
shirley
hey, sandeep, thanks!
24 years ago
thanks for your help!
24 years ago
Hi, all,
i know this may sound stupid. But, how can I be java certified? where do I take the certification test?? thanks a lot! any info. would be appreciated.
24 years ago
what does "web server" exactly means and what is it for?? thanks
24 years ago
okay, let me clarify a bit. We can get away with
String s = "abc"; because the compiler will implicitly replace it with: String s = new String("abc");
hope this helps!
24 years ago
I think they both have the same result. In the first expression, you assign "abc" to s; and in the second expression, you instaniate a new object of String and assign s to "abc". String is one of the object type, but we don't need to instaniate it before we use it. Unlike other objects which we do need to instaniate, we can treat String as one of the data types.
24 years ago