Hi, I have a couple of doubts. 1.Which method declarations will enable a class to be run as a standalone program? Will "static void main(String[] args)" be considered wrong? I did read the explanation given in JQplus,however it doesn't say why this choice is not given any value. 2.Can color of the text on a Button be changed by using setForeground? I don't think so...Could anyone please let me know about this. Regards, Rashmi
Fei Ng
Ranch Hand
Joined: Aug 26, 2000
Posts: 1241
posted
0
Originally posted by Rashmi Hosalli: Hi, I have a couple of doubts. 1.Which method declarations will enable a class to be run as a standalone program? Will "static void main(String[] args)" be considered wrong? I did read the explanation given in JQplus,however it doesn't say why this choice is not given any value. 2.Can color of the text on a Button be changed by using setForeground? I don't think so...Could anyone please let me know about this. Regards, Rashmi
1. static void main(String[]) is fine. 2. I dont think , NO.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.