 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
jason.bice@gmail.com Guest
|
Posted: Fri Apr 01, 2005 4:44 pm Post subject: JBuilder 2005 and Java 1.5: Formatting, etc. |
|
|
I'm using JBuilder 2005, and I frequently use the auto-formatting
feature. However, JBuilder 2005 does not seem to properly recognize
enums in terms of formatting. Even worse, enum declarations throw off
the formatting of everything thereafter.
Does anyone know if some sort of update is available from Borland (or
third party) that fixes this? I'd like to be able to customize the
formatting of enums just like everything else.
TIA,
Jason Bice
|
|
| Back to top |
|
 |
cheryl.marquis@ngc.com Guest
|
Posted: Tue Apr 12, 2005 3:03 pm Post subject: Re: JBuilder 2005 and Java 1.5: Formatting, etc. |
|
|
Hmm, I can't even get that far - I have Java 1.5 set up in my Project
properties and for my JAVA_HOME on my machine, but JBuilder 2005 will
not compile it, it keeps complaining about either 'class' or
'interface' expected or if I move it into another class it complains
about ";" even though I've copied the example of the Coin enum from the
Sun web page.
To add insult to injury it warns me that "enum" is now a reserved word
- no kidding, I'd like to use it.
This is very frustrating as I would like to use the enum, but JBuilder
is blocking me.
Any idea what I didn't set that would make JBuilder 2005 Enterprise
(11.0.320.0 Update 4) act this way. I even updated my original install
to try to fix this problem.
Any help would be appreciated,
Cheryl
|
|
| Back to top |
|
 |
Cheryl Guest
|
Posted: Tue Apr 12, 2005 5:10 pm Post subject: Re: JBuilder 2005 and Java 1.5: Formatting, etc. |
|
|
Found my answer - needed to change my Language features and target VM
features (project -> properties-> build->java) to reflect the change to
5.0.
Thanks anyway.
Cheryl
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|