Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2008, 06:02 PM
Member
 
Join Date: Aug 2008
Posts: 1
Terentius is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 07:13 AM
Auto generated number system? javanewbie New To Java 2 08-09-2008 07:16 AM
getting dynamically generated valus abhiN JavaServer Pages (JSP) and JSTL 2 03-29-2008 12:58 PM
passing dynamically generated values abhiN Advanced Java 1 01-20-2008 05:21 AM
Generated servlet error tommy JavaServer Pages (JSP) and JSTL 1 08-05-2007 12:46 PM


All times are GMT +3. The time now is 02:20 AM.


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