Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2008, 05:02 PM
Member
 
Join Date: Aug 2008
Posts: 1
Rep Power: 0
Terentius is on a distinguished road
Default How to delete pre-generated code?
Hi all! I'm new to this forum and JAVA at large =)

My application:

I'm working on an app that connects to a remote mySQL DB, injects user input and in turn gets an auto-generated key back which is printed as a barcode. The functionality is working as it's supposed to - my problems started when I wanted to build a swing interface with NetBeans.

My problem:

I've spent hours building a nice interface in NetBeans and I love how easy it is to attach event actions to menu items and buttons etc. However, a lot of pregenerated code is created which can't be altered by the user (that would be me). As I call "frame0" (the default frame for my app, created with the new project) with the "add" method, NetBeans suddenly thinks my code string is pregenerated and marks it as thus. Now I can't delete the line, although it screws up my application! I have tried to delete the object to which the code is attached (jMenuItem), but the screen just blinks and the object stays alive.

In short: How do I delete code pregenerated by NetBeans?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] auto generated numbers suprabha Advanced Java 10 08-14-2008 06:13 AM
Auto generated number system? javanewbie New To Java 2 08-09-2008 06:16 AM
getting dynamically generated valus abhiN JavaServer Pages (JSP) and JSTL 2 03-29-2008 11:58 AM
passing dynamically generated values abhiN Advanced Java 1 01-20-2008 04:21 AM
Generated servlet error tommy JavaServer Pages (JSP) and JSTL 1 08-05-2007 11:46 AM


All times are GMT +2. The time now is 04:42 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org