Board index » jbuilder » Why are some import line grey
Richard
JBuilder Developer |
Richard
JBuilder Developer |
Why are some import line grey2004-11-28 01:50:34 AM jbuilder11 Hello, I compiled and ran one of the Swing examples (TableDialogEditDemo). In the import blcok, some of the lines are in a faint grey. For example, in the following subset, the line for JDialog is fainter than the other lines: import javax.swing.JComponent; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JPanel; What is the significance of the change in color? Thanks, Richard Ulrich |
Shankar Unni
Java Developer |
2004-11-28 02:53:38 AM
Re:Why are some import line grey
Richard wrote:
Quotefollowing subset, the line for JDialog is fainter than the other lines: No harm in putting unused imports in your code, of course, except maybe readability. And you disable the greying-out behavior from the Editor preferences. |
Lori M Olson [TeamB]
Java Developer |
2004-11-28 08:23:02 AM
Re:Why are some import line grey
Shankar Unni wrote:
QuoteNo harm in putting unused imports in your code, of course, except maybe -- Regards, Lori Olson [TeamB] ------------ Save yourself, and everyone else, some time and search the newsgroups and the FAQ-O-Matic before posting your next question. Google Advanced Newsgroup Search www.google.ca/advanced_group_search Other Newsgroup Searches: www.borland.com/newsgroups/ngsearch.html Joi Ellis's FAQ-O-Matic: www.visi.com/~gyles19/fom-serve/cache/1.html {smallsort} |
Richard
Java Developer |
2004-11-28 09:11:56 AM
Re:Why are some import line grey
"Lori M Olson [TeamB]" < XXXX@XXXXX.COM >wrote in message
QuoteIt affects compile speed, if you have a lot of classes with a lot of so lightning fast that it hardly seems worrying about! I suppose, though, if I had thousands of files instead of under 100 I'd have a different opinion. Thanks, R |
Alexey N. Solofnenko
Java Developer |
2004-11-28 10:06:49 AM
Re:Why are some import line grey
RMIC can be very slow in big projects. Fortunately 1.5 makes rmic obsolete.
- Alexey. Richard wrote: Quote"Lori M Olson [TeamB]" < XXXX@XXXXX.COM >wrote in message |