BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JBuilder 2005 and Java 1.5: Formatting, etc.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
jason.bice@gmail.com
Guest





PostPosted: Fri Apr 01, 2005 4:44 pm    Post subject: JBuilder 2005 and Java 1.5: Formatting, etc. Reply with quote



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





PostPosted: Tue Apr 12, 2005 3:03 pm    Post subject: Re: JBuilder 2005 and Java 1.5: Formatting, etc. Reply with quote



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





PostPosted: Tue Apr 12, 2005 5:10 pm    Post subject: Re: JBuilder 2005 and Java 1.5: Formatting, etc. Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.