NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Can I edit Generated Code in NB69?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
fred2040



Joined: 11 Sep 2011
Posts: 5

PostPosted: Sat Sep 24, 2011 5:13 pm    Post subject: Can I edit Generated Code in NB69? Reply with quote

Hello, two little question..
1. can i edit the generate code?
2. where is the desktop java libraries, 'cause I need to add it to my simple java project

TY
Back to top
areeda



Joined: 28 Aug 2008
Posts: 487
Location: Los Angeles

PostPosted: Tue Sep 27, 2011 4:49 am    Post subject: Reply with quote

There are some reasons why you don't want to edit generated code. The big one being that if you do anything with the GUI builder that code will be deleted and regenerated.

That said an external editor will let you do it. If you're never going use the GUI builder again just remove the .form file and the generated code tags.

I would suggest letting the generated code run then making mods to the result, just rebuild the objects you want.

I'm not sure what you mean by "desktop java libraires" if it's the Swing Applicaiton Framework NetBeans will add it to the dist folder when it builds the app.

Joe
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo