Why can't i edit the variable declaration in Netbeans GUI Applications?

When i drag and drop jbutton,jlabel and other tools from toolbox on the jform the code is
automatically generated by the Netbeans.
At bottom the variable declaration for the jbutton and for the other tools is automatically
generated.
The part of that declaration is shaded as grey.
Is it possible to edit those variables from Netbeans?

Yup, as Chuck states, it is possible to edit that region of code, since the file is nothing more than a text file, but doing so "breaks" the code so that you cannot modify the GUI content in NetBeans WYSIWYG form editor. Please note, that there are ways of changing the characteristics of those variables without editing them directly. You should look into how to change properties of your GUI with NetBeans. The online tutorials can show you how.

Similar Messages

  • Why can't I edit the Word doc I converted from a PDF?

    Why can't I edit the Word doc I converted from a PDF?
    Help! That is why I bought this software!

    Hi linda007,
    If you can't edit the file once it's converted to Word, it could be that the PDF was created from a scanned page, and then image text wasn't converted to searchable text. ExportPDF should perform Optical Character Recognition by default, but it can be disabled in Reader. Do you know whether OCR was disabled when you converted the page? If it wasn't, make sure that the correct language was selected for OCR. This option appears at the bottom of the ExportPDF panel in Reader, and in the Document Language (for Text Recognition) pop-up menu that appears after you select your file to convert in the ExportPDF online service.
    If everything seems to have been set correctly, and you still can edit the text, please try triple-clicking to select the text in Word. Did that do the trick?
    Best,
    Sara

  • Once I convert pdf to WORD, why can't I edit the WORD document?

    Once i convert PDF to WORD, why can't i edit the WORD document?

    Hi sophtex,
    Kindly refer this FAQ:Can't edit converted Word or Excel file
    Please let me know for further assistance.
    Regards,
    Florence

  • Why can't I edit the photos I just imported from a usb flash drive?

    Why Can't I edit the photos I just imported from a usb flash drive? I scanned them into a desktop pc, copied them onto a flash drive, imported them into iphoto. Once I remove the flash drive I'm unable to edit them. Says it can't find the original...or something like that. I appreciate any help you can give me! Trying to get a slide show ready for a funeral, therefore I have an approaching deadline, eek!

    Copy the photos from the drive to your desktop import then again and delete the images. If the same mistake appears, there is something wrong with your import settings into iPhoto - > may be you didn't imported the original files to your iphoto library.

  • Why can't I access the variables in my threads?

    hello.
    another question about threads..
    ==========================
    I have an inner class that implements Runnable (i.e. a thread) and has a variable in it. I want to be able to access that variable from outside the thread class so that I can set or retrieve the variable.
    here is the code for the program
    class myClass
         public static void main(String[] args)
              myClass c = new myClass();
         myClass()
              Thread t = new Thread(new myThread());
              t.number = 1;
              t.start();
         class myThread implements Runnable
              int number = 0;
              public void run()
         }//end myThread
    }//end myClassthe line
    t.number = 1;
    where I try to set the number variable to 1 gives me an error (in the MyClass constructor)
    This is my error
    AccessThreadVars.java:11: cannot find symbol
    symbol  : variable number
    location: class java.lang.Thread
              t.number = 1;
                        ^
    1 errorif I put a method in myThread, and then try to call that method from myClass (via t.MethodName()) it gives me that same error telling me it can't find it..
    what am I doing wrong? how can I get access my thread's variables and methods??

    1. Type names should start with an uppercase letter
    2. t is defined as a Thread, not as a myThread
    (which, may I insist, should be "MyThread"), so the
    compiler has no means of detecting that "number" is
    an accessible field of the object... which wouldn't be accessible anyway, cause you're trying to get attributes from your Runnable after wrapping it inside a Thread.
    Why don't you do something like :
    MyThread t = new MyThread();
    t.number = 1;
    new Thread(myThread).start();?
    I bet you don't use Thread's own methods anyway...

  • Why can't I edit the local version of address book

    Since iCloud I can no longer edit the local version of my address book.  In addition adding addresses from Mail no longer saves them to address book, it does seem to put them somewhere but I have no idea where, they don't appear to go icloud either.  I need to manually create them.
    I am on the latest version of Lion, and a 2011 Macbook Pro.
    Syncing-wise icloud is excellent and it keeps my phone up to date.  But if I am off-line I can't edit details into address book.  Its a minor inconvenience, as I can use my phone easily, but it is quicker to use the macbook.
    Any advice?
    Regards
    Shane

    Open the Mac App Store and download OS X Mavericks. Do you see any error message?
    Note that OS X Mavericks requires a Late 2008 Aluminum or Early 2009 or newer MacBook, so if you have got an older Mac, the Mac App Store will show you a message telling you that your MacBook is not compatible. In that case, the only thing you can do is to stay with the Mac OS X version you are running

  • Why can't I move a variable declaration from inside a Sub to the Declarations area?

    I'm writing an app and so far, so good. But I need wider access to an array defined in my "Form_Load" sub.
    Private Sub frmMain_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    ' Assign checkboxes to an array.
    Dim Checkboxes() As CheckBox = {chkThumb01, chkThumb02, chkThumb03, chkThumb04, _
    chkThumb05, chkThumb06, chkThumb07, chkThumb08, chkThumb09, chkThumb10}
    Moving the declaration ("Dim Checkboxes()...") from "Sub frmMain_Load" up into the Declarations space just above it breaks my program. :(
    I tried putting it in a Module and that fails too. The ONLY place it work's is in Form_Load (it's not related to being an array because at least one standard integer variable declaration has this problem too.)
    I have other variables in the Declarations area that work fine (eg: "Dim bolChanges as Boolean"), but for some reason, I can't move others out into what
    should be a more global namespace.
    Anyone know what's going on? Thx.

    No, because this makes no difference.
    Background #1: If you do not write your own constructor (=Sub New), the VB compiler adds a default constructor. It contains a call to Sub InitializeComponent. In this Sub, the controls are created and assigned to chkThumb01 etc. You see it if you type "Sub
    New[Enter]":
    Sub New()
    InitializeComponent()
    End Sub
    Background #2: If you write
    Public Class Test
    Private values As Integer() = {1, 2, 3}
    End Class
    it is identical to
    Public Class Test
    Private values As Integer()
    Sub New()
    values = New Integer() {1, 2, 3}
    End Sub
    End Class
    As you can see, the assignments that you do to fields of the class in the declaration line are actually executed in the constructor (sub new).
    Now put both backgrounds together. Consequently, this code
    Public Class Form1
    Private buttons As Button() = {Button1, Button2, Button3}
    End Class
    is identical to this one:
    Public Class Form1
    Private buttons As Button()
    Sub New()
    buttons = New Button() {Button1, Button2, Button3}
    InitializeComponent()
    End Sub
    End Class
    Obviously, the assignment to variable "buttons" is done before the call to Sub InitializeComponent. At this point, variables Button1, Button2 and  Button3 are still empty (Nothing) because they will be set in Sub InitializeComponent. Consequently,
    the array buttons contains just {Nothing, Nothing, Nothing}
    In opposite, if the array buttons is set in the Load event, Button1, Button2 and Button3 have already been set before, Consequently, the array buttons correctly contains references to the three buttons.
    Armin

  • Why can't I edit the Master Database

    Can someone from NI please explain the reasoning behind not letting the user edit the master database?  I want to do something simple like remove one of the redundant + and "dot" polarity indicators on some of the capacitor footprints without having to, one by one, change each capacitor to use my custom footprint.
    I have found several errors in the master database yet I can't fix those parts or footprints or remove them, thus increasing the likely hood that they will get used by mistake/unknowingly again.
    The only explanation that I can come up with is poor database design and fear of me "breaking" it.   Something as simple as editing a part through the GUI should be simple enough to do to, please let me.  No offense, but your master database is not good enough to warrant "no edits".  Most parts I use are from the local database, but that is not an option for special case parts like resistors and capacitors.
    Also, why I can't edit the database itself without using the GUI? (as is an option in all other CAD packages that I've used).  The GUI entry point is extremely time consuming and error prone when a database script can often easily create error/typo free part numbers using existing symbols and footprints.
    Greg

    There are several ways you can achieve the results you looking for with respect to RLCs.
    Ultiboard first searchs the User then Corporate the Master database when looking for footprints. So, if you want to make a modification to a footprint, make the copy the appropriate in Ultiboard into your User database. Then modify the footprint. When you transfer from Multisim to Ultiboard, Ultiboard will pick the footprint you customized (or fixed).
    One thing to watch out for is determining the correct name in Ultiboard. The name in Multisim is often not the name in Ultiboard. I don't know of any simple way of determing the mapping.
    Place the component with the footprint that you want to change (in Multisim)
    Double click the component, and click Edit Footprint on the Value page
    Click Select from Database. The footprint should be selected. The name in Ultiboard is the Ultiboard Footprint column (if it is blank, then the name in Multisim and Ultiboard is the same).
    You can add new footprints to the list in the Place Component dialog. You do this in the Database Manager.
    Go to Tools > Database > Database Manager
    Select the RLC Components tab
    Click the Add button to add a new definition. Note, the definition will appear for all components of the same type. Also watch out for the polarity of capacitors and other components where relevant.
    Garret
    Senior Software Developer
    National Instruments
    Circuit Design Community and Blog
    If someone helped you, let them know. Mark as solved or give a kudo.

  • Why can't I edit the entire Photomerge image in Adobe Elements 8?

    This granny admittedly isn't terribly Elements "savvy".  However, I managed to figure out how to scan an old 1888,  10x12 photo  in two halves (left and right), and used the Elements Photomerge to combine the two shots.  It worked quite well - slightly askew at the top edge, but the rest of the image appears to be well-stitched - to the naked eye, at least.  
    After sharpening the image, I went to Guided Edit and began using the brush to "heal" a few of the old marks on the image at full size - that worked well!.  Until  I moved my brush into the area that had been the left side, that is..  The brush no longer worked.  Then I noted that the about 1/3 of the left side was not sharpened like the right side was, either!    To test it further, I changed it to a black & white photo.   Only that larger right section changed to black & white, and the left part of the image stayed it's old sepia color.   I saved the images, closed and re-opened Elements - but had the same results. The left side just can't be edited.  
    Isn't there a way to edit the entire merged image?
    I've saved the image as a high-quality JPEG, and also as Adobe Elements format - but they still won't fully edit.    The two are large files - I was thinking that I'd need to save it at high-quality in order to end up with a nice retouched & sharpened 8x10, suitable for framing.    ????
    Can anyone advise me as to what I might be doing or not doing to cause this? 
    Also, I'm running Windows 7 Home Premium, 64 bit on one laptop, and Windows 7 Professional, 64 bit on another
    (I'm trying to get by with the Elements version I have, due to finances.)
    Thanks a million
    Grannyck

    You are a gem!  It worked!  
    I have SO much to learn, and many of the tintypes and very old photos I've recently inherited & scanned will be a good "classroom" for me.   I haven't even completely figured out what "layers" are.       (I do have an Elements 8 book; however, it helps if you know what to look up in it! LOL)
    thanks again, nealeh!
    grannyck

  • Why can't I edit the photos??

    I've worked with photoshop before, but this is the first time i've tried that I can't edit the photo I want to use. It keep saying: could not complete youre request because the smart object is not directly editabel.
    It doesn't really matter what photo i choose, it say it on the all of them exept for 2.  

    Sounds like it can't find the internal data. Try rasterizing the layer and see if it rasterizes.

  • Why can't I edit the info in iTunes?

    All of a sudden, I can no longer edit info in iTunes.  I use Windows 7 and have iTunes 10 version3.0 that I just updated.  However, it was doing this with the 2.0 Version as well. I had hoped the 3.0 would resolve it and it hasn’t.
    I did not install anything new on my computer.  I just turned it on and this happened.
    I followed some advice already given: made sure my Windows was updated, I checked to see if I have full authorization on the iTunes music folder and I do and it is not a read only file. I also have full ownership of all folders.
    I am at a loss on how to proceed.  I hope someone can help me.
    Thanks a lot.

    If it was purchased from the iTunes store-there is no way to change the info.
    If it is not from the iTunes store-should be able to right click on it and select get info and edit it (as pointed out above).

  • Why can't I edit the source code?

    Updating an existing site that was created in Front Page. Am using DW CS4. Must be missing something totally obvious, but when I have pages open in split view, I'm unable to edit the source code. Any thoughts? I can make changes to the CSS, but direct editing in the source code seems to be unavailable.

    > Is it because I didn¹t download the site through DW, that I can¹t edit the source
    code?
    No.  HTML is HTML no matter who writes it.
    This page is definitely a template controlled page, but it is one that has been 'hacked' in the sense that someone has removed the link to the template page from the head of this document (there should be a link to the template page just below the <html> tag).  For example, if you look at the code on the about.htm page, you will see this -
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    And by the way, I will say that this looks suspiciously like a DW page not a FrontPage page....
    What edits are you wanting to make to this page?

  • WHY CAN I NOT EDIT THE DEFAULT SEARCH ENGINE USED BY THE ADDRESS BAR (NOT THE SEARCH BAR NEXT TO IT) FROM BING TO GOOGLE?

    I am asking this question again, because upon checking the forum for a solution I was shocked and appalled by the severe lack of grammar, punctuation and spelling I encountered while reading answers to this question. Obviously several people where to busy to actually read the question being asked and simply answered with instructions on how to change the default search engine for the search bar. SO, here I am asking the same question, why? because it still has not been answered and I myself still CANNOT find this setting anywhere. I use multiple browsers for different tasks, Chrome is KICKING the .... out of you guys Mozilla, why did you ever let your self get taken in by Micro-crack (Microsoft), if I recall correctly the inception of this program was partly motivated by the need for an alternative to the idiosyncrasies and vulnerability of Microsoft Internet Explore. This really feels like a HUGE step backwards, I would love to see a return to the days when Mozilla Firefox was and inspiration to developers and techs everywhere. And please will someone just answer the right question this time. Trust me when I say it will be obvious who does and does not read this in it's entirety.
    ''Edited by a moderator due to language. See the [http://support.mozilla.com/kb/Forum+and+chat+rules+and+guidelines Rules & Guidelines] .''

    HAHA! I have solved it! Ok here is the URL for Google, as mentioned above by bram:
    "Go to About:config
    Search for keyword.URL
    Double click the Value entry field, and change it to the search engine you prefer"
    Enter this URL for the string value
    http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=

  • In Acrobat CIB,lesson 19,  why can't I edit the reading order?

    Images are supposed to be 1,3,5 and their captions 2,4,6. My issue is that they switch...okay, i draw my rectangle around image 1 click the figure button in the TouchUp Reading Order dialog box, then draw my rectangle around  caption 1  and click the Figure/Caption button as the book directs, image ends up 2 and the caption 1. when I finish drawing rectangles around all 6 they are ordered 1,2,3,4,5,6. Any help or ideas would be very much appreciated, this is the last lesson! Thanks a bunch
    Michelle

    Have you looked at re-arranging the reading-order itself under View/Navigation Panels/Order/
    This will provide you with the ability to fine-tune content for reflow and read-aloud ..
    Hope this helps,
    Jon

  • I can no longer edit the info for my songs, movies and tv shows.  This occurred since I loaded Windows 7 Pro on my C drive, and then fownloaded ITunes 10.  Why will the program not allow me to access the track info to edit it?

    I can no longer edit the info for my songs, movies and tv shows.  This occurred since I loaded Windows 7 Pro on my C drive, and then fownloaded ITunes 10.  Why will the program not allow me to access the track info to edit it?

    Ah yes school boy error there out of frustration and discontent..
    My issue is with music/apps/films etc not downloading from iTunes / App Store.
    They initially fail and message is displayed stating unable to download / purchase at this time, yet if I retry it says I've already purchased (?) or alternatively I go to the purchased section and there they are waiting with the cloud symbol..
    However some items get frozen in the download window and cannot be retried or deleted. Message appears stating to tap to retry, but even if you stole every bath and sink in the uk you'd still not have enough taps.
    I post here as the iTunes guys are useless in there 'help' and have only advised posting here or phoning apple, at my expense, to explain a problem that could be rectified by forwarding my original email to a techie. However the tech team apparently don't have an email address as they're from ye olde Middle Ages..!
    Anyways I digress.
    So I tried sync to pc, but instead of showing the file as ready to listen/use/view, the iCloud symbol shows and I'm back to square one as the item is unable to download..
    At frustration station waiting for a train from pain...
    All my software is up to date, and had all worked fine prior to the last big iOS update that resulted in all the changes in display and dismay.
    Answers in a postcard :-)
    Much love

Maybe you are looking for