Where in the world is this coming from?

I've recently been contracted to build an application for my employer. Great. The project is really straight forward and its going along nicely ... all except for this simple bit here.
I decided to use a new "big & bad" IDE (Netbeans 5.5) seeing as how this was pretty GUI intensive. I don't like to have to sit down and calculate all of those dimensions and placements by hand. So ... am using the IDE.
Pasted below is the initComponents() method of my program where my JTree (jTree1) is instantiated. It has an empty constructor - and nothing has been added to it ... so I'm curious as to how this is happening:
The problem:
I've reviewed the code over and over again. I can't find anywhere where a default dataset is being assigned to the JTree. Anywhere. However, when I go to view my form - I have the following information in the tree:
JTree
|
Colors
|- blue
|- violet
|- red
|- yellow
|
Sports
|- basketball
|- soccer
|- football
|- hockey
|
Food
|- hotdogs
|- pizza
|- ravioli
|- bananas
Where in the name of Satan's assshole is this coming from?
    private void initComponents() {
        btnSend = new javax.swing.JButton();
        btnClose = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTree1 = new javax.swing.JTree();
        jLabel1 = new javax.swing.JLabel();
        btnDoAssignment = new javax.swing.JButton();
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Homework Utilities");
        btnSend.setText("Send Homework");
        btnClose.setText("Close");
        btnClose.setMaximumSize(new java.awt.Dimension(109, 23));
        btnClose.setMinimumSize(new java.awt.Dimension(109, 23));
        btnClose.setPreferredSize(new java.awt.Dimension(109, 23));
        btnClose.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCloseActionPerformed(evt);
        jTree1.setEditable(true);
        jScrollPane1.setViewportView(jTree1);
        jLabel1.setText("Select Homework Assignment:");
        btnDoAssignment.setText("Do Assignment");
        btnDoAssignment.setMaximumSize(new java.awt.Dimension(109, 23));
        btnDoAssignment.setMinimumSize(new java.awt.Dimension(109, 23));
        btnDoAssignment.setPreferredSize(new java.awt.Dimension(109, 23));
        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(btnClose, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(btnSend)
                    .add(btnDoAssignment, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(22, 22, 22)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 249, Short.MAX_VALUE)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 249, Short.MAX_VALUE))
                .addContainerGap())
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(jLabel1)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
                        .add(btnDoAssignment, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnSend)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnClose, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        pack();
    }Nowhere else in the rest of the entire application is jTree1 even referenced. So, how is this? How is that data in my tree? Best question: how in the funk do I get it out??

Myeh - I'm not really in any rush. I work from home as a private contractor. I tell you - it is so much more ... relaxed? ... than when I was working for my previous employer. My current employer wants the product finished by June. Thats when they have a big push of students coming in and want the new software ready for them. So, I've got a while - and it definitely wont take me that long to complete. I just figured that there must be something to the fuss about IDEs and how they simplify things. And, tonight, I found that that is a load of horseshit.
(Just so you know - there is a downside to working for yourself... you get weird requests from people like the following ...)
I had a guy once ask me to write an application for his son who is obsessed with the television show Alias. He said he wanted a program that did exactly what this Alias program did on the show in a particular episode. When asked if I was familiar with it, I said no. So what does this goofball do? He goes and buys the show on DVD and brings it to me. We watch it - he takes me to the point in the show and says "That! Right there! That's what he wants!!"
Astonished (and somewhat dumbfounded) I ask him, "You're aware of the fact that I am not going to be capable of writing an application that remotely logs into a secret NSA super-computer via satellite ...... right?" He then proceeded to tell me to make it look like it does. Just make up all sorts of stuff - just as long as it looks the same.
The worst part .... that wasn't the only request of the type that I've received. (Granted, the others were by kids - usually 14 or 15 that thought that I'd do it for 10 or so bucks.) Because I obviously have time to waste on such things ...

Similar Messages

  • How to install my WVC210 Wireless-G PTZ Internet Camera so I can view it from any where in the world.

    Hi guys I just bught a
    WVC210 Wireless-G PTZ Internet Camera
    I need to install it so that I can view it from any where in the world. I have no Idea how to do this.
    I would like if some one can send me a video tutorial on how to do it.
    I have a website that I am runing so I guess I can use that if I need something like Hosting and Domain things.
    I want to know if it is posible that I can some how configure it so I can view the camera on one of my websites page.
    For exaple: www.example.com/mycamera???
    If not well I would love to here the options I have.
    Thank you very much in advance!

    Rogerio,
    I have never seen a router like you have and I wouldn't dare advise you about changing the settings. It appears that it is a router/modem that was provided by your ISP. If this is the case, I recommend that you call your ISP and ask them for Port Forwarding assistance. You need to forward port 80 to the LAN IP address of your camera. The LAN IP address of your camera is the IP address that you use to log into the web interface. You should not need to change any settings on the camera. After you have had the ISP help you forward the port to the camera, go to ipchicken.com and you will see your WAN IP address. Write that address down and then go to a remote location and type it into your web browser. You should get the login page of the camera. Note that your WAN IP is subject to change. You can ask your ISP to provide you with a static IP address which will be an additional charge each month but your IP address will not change. Another option is to use a service such as dyndns to create a unique URL that you can use to access the camera remotely even if your WAN IP address changes. We can discuss that after you get access to the camera if you have further questions.

  • Where are these unix executable files coming from and how do I recover the original text file?

    where are these unix executable files coming from and how do I recover the original text file?

    When you upgraded to Lion did you have AppleWorks installed on your mac?
    Most of the AW documents can be opened by Pages 09 or Numbers 09 with most of the orginal format in tact. (I do not know if previouse verision will work) just open the AW file with both and see which one works best.
    Text Edit will also open most of the AW files as well but will require a lot of work to restore them to their orginal format.
    If you have AW Database documents then they are not supported. 
    These document show up as "exec icons", Kind: Unix Executagle File.
    They also will show up as .cwk file if they are small files. I have a couple that were under 1mb that are shown as " Kind: AppleWorks Document" but will not open.
    The only option to open AW database is to have AW installed on a mac with a pre-Lion OS to recover the file.

  • I have a macbook pro 15 retina - when ever I connect to bluetooth speaker, I get this loud noise coming from the speaker - if I turn bluetooth off, the noise is now coming from the macbook speakers

    I have a macbook pro 15 retina - when ever I connect to bluetooth speaker, I get this loud noise coming from the speaker - if I turn bluetooth off, the noise is now coming from the macbook speakers & stays until i restart.

    Hi John. Thanks for that input. At Step 6, after clicking "Next" I get a window telling me my OS version is unsupported and the installation may not complete. I am prompted to go to Canon's web site to "Check Latest Info".
    I've had this window on previous attempts and from Canon's web site I downloaded two drivers as follows
    - ICA Driver V4.0.0
    - Canon IJ Network Tool V4.5.0
    I'm not sure if these are the correct / complete drivers I need for this install or not.
    I continue to follow all the steps. At step 9 I click "Wireless Set Up using USB" amd get a License Agreement (a little different than instructions)
    I click "Agree" and it goes to a Setup window with two progress bars showing the installation. I've not been prompted to connect the USB?
    After the Setup window is done, I am then prompted to connect the printer via USB. I connect the printer and click on "Redetect". It is not detected.
    I then try following the Canon on screen instructions for connecting to the wireless LAN amd enter the password. It searches and indicates "Connecting" on the window, but it never connects and the blue light just blinks
    So, at this point I am stuck??
    Thanks
    Stephen

  • Is i message free any where in  the world ie from canada to the philippines

    is imessage free any where in the world ie canada to the philippines

    Rogerio,
    I have never seen a router like you have and I wouldn't dare advise you about changing the settings. It appears that it is a router/modem that was provided by your ISP. If this is the case, I recommend that you call your ISP and ask them for Port Forwarding assistance. You need to forward port 80 to the LAN IP address of your camera. The LAN IP address of your camera is the IP address that you use to log into the web interface. You should not need to change any settings on the camera. After you have had the ISP help you forward the port to the camera, go to ipchicken.com and you will see your WAN IP address. Write that address down and then go to a remote location and type it into your web browser. You should get the login page of the camera. Note that your WAN IP is subject to change. You can ask your ISP to provide you with a static IP address which will be an additional charge each month but your IP address will not change. Another option is to use a service such as dyndns to create a unique URL that you can use to access the camera remotely even if your WAN IP address changes. We can discuss that after you get access to the camera if you have further questions.

  • Where in the world is the iTunes Radio icon on iOS 7. Just upgraded my iPad 4 & iPhone 5 and I can't seem to find this on either.

    Where in the world is the iTunes Radio icon on iOS 7. Just upgraded my iPad 4 & iPhone 5 and I can't seem to find this on either.

    I'd say that darn stupid. The whole world can access iTunes Radio via Apple TV and the laptop, but apple had to restrict this to the US for IOS 7 for iPad & iPhone.

  • When I send a text to another phone, it shows up on the other phone as coming from email address and not from phone number.

    I just came over from Sprint 4 days ago and had my number ported over. When I send a text to another number, it shows up on the other phone as coming from email address and not my phone number. For example, if the recipient of the text has me in the contacts as "Tom", the text comes to them displaying my email address instead of "Tom".

        cfm007,
    Welcome to our family. We want you to be able to enjoy all the services we provide and we definitely need to address this. Do you receive/make calls without problems? Are you able to receive messages with your contacts' number? Are you using iMessages? If so, go to Settings>Messages>Send&Receive>only your phone number should be enabled.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • How to remove the buttons which are coming from a report?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Hi,
    I think u r mentioning about the addition buttons that appear in the selection screen when using a logical database. for removing these buttons u can use a function module RS_SET_SELSCREEN_STATUS  for setting ur own pf-status
    do this in "at selection screen output" of the program..
    in the tables parameter, u have the option for giving the ok-codes that u want to remove. append all the ok-codes into this table.
    for getting the ok-codes u can use "tab" and go the button.. press F1. it will give the ok-code.
    Regards,
    Anoop

  • I have Adobe Acrobat version 11.0.0 installed with Adobe CC.  I cannot download PDFs from the internet (in this case from PubMed National Library of Medicine).  If I try to do this  I get a popup message saying that "ADOBE ACROBAT NPAPI PLUG-IN, VERSION 1

    I have Adobe Acrobat version 11.0.0 installed with Adobe CC.  I cannot download PDFs from the internet (in this case from PubMed National Library of Medicine).  If I try to do this  I get a popup message saying that "ADOBE ACROBAT NPAPI PLUG-IN, VERSION 11.0.0 NEEDS YOUR PERMISSION TO RUN.  I DON'T KNOW HOW TO GIVE THIS PERMISSION OR WHAT TO DO.  CAN YOU PLEASE HELP?

    What buttons do you get to click on with this message? What browser are you using (e.g. Safari, Chrome, Internet Explorer...)

  • 3d in flash Cs5 / flash player 10.1 - where is the info on this?

    I have been hunting for documentation / news on any new 3d features in flash Cs5 / FP 10.1.
    On the CS5 intro video it mentions GPU acceleration is supported by FP10.1
    Anyone know where is the documentation on this?
    Does FP10.1 support a serious native 3D engine, or are we still going to be using another layer on top, like such as Papervision (impressive as Papervision and the others are - they are not taking advantage of GPU to do rendering).
    Grateful for any pointers to documentation on this.

    Thanks for the link to the online CS5 docs.
    Within the docs, the page that seems to come closest to answering the question is this: http://help.adobe.com/en_US/Flash/CS5/Using/WS3D3F757E-6EEB-4f6b-BC7F-BE8F94D329E1.html
    However that page seems to be simply an update of the CS4 page: http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS3D3F757E-6EEB-4f6b-BC7F-BE8F94D329E1.h tml
    So we might easily conclude that no changes have been made to 3D support in CS5 verses CS4.
    Currently (at least at the CS4 level) the only solutions for people wanting to 3d graphics in flash are things like Papervision3d, which are great, but use huge amounts of CPU resources because they don't take advantage of GPU capacity like DirectX / OpenGL / o3d etc do.
    However I have heard it said that Flash 10.1 and CS5 support GPU accelerated type 3D graphics (like DirectX or OpenGL or Google's o3d on the web).
    They even mention something about this in the introduction video to CS5.
    I think many developers have been waiting for this for a long time.
    So if it is true, I am surprise that there is not a big fanfare and lots of documentation about it.
    However I cannot find any.
    Does this functionality exist?
    If so where is the documentation?
    Many thanks for help, if anyone knows.

  • Where are the tutorials for Raw files from my Nikon?

    Where are the tutorials for Raw files from my Nikon?

    These tutorials should how to work in camera raw so you can edit NEFs.
    How to make non-destructive edits in Camera Raw | Adobe Photoshop CC tutorials

  • I'm currently running Mountain Lion. Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?

    I'm currently running Mountain Lion. Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?

    VKH wrote:
    ...Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?
    I would recommend that you do neither unless there's some feature in Yosemite that you absolutely must have. With broad adoption (i.e., after the OS is released to the public), all kinds of problems surface which get fixed in updates. You can take advantage of their discovery and resolution by giving the OS a chance to mature. Since you're asking about going to Mavericks, which has already been out for eight months, there was clearly not that much exciting (except, perhaps, the price) to encourage an upgrade, so staying put was prudent. Once Yosemite's wrinkles are ironed out, you'll be able to jump straight to it, after you make a bootable backup of your ML partition of course, so that you can always retreat if necessary.

  • I have a new mac mini with mt lion where is the os on this computer

    I have a new mac mini with mt lion where is the os on this computer. It came with Mt Lion on it

    You have a couple of options for booting OS X.
    One is to use the OS X Recovery Disk Assistant to copy the Mountain Lion Recovery HD to a USB thumb drive. A 4GB thumb drive is sufficient as the Disk Assistant only needs 1GB.
    A second option would be to use a cloning software like SuperDuper or Carbon Copy Cloner to clone your existing Macintosh HD to an external USB drive. This would give you an external bootable copy of what you have now.

  • What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?

    What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?
    Details
    Constantly, while using Firefox (Beta v 11.0), and/or ESPECIALLY, when I have my eMail @ Mail.com open, I get this PopUp stating: "For security reasons, restarting mail.com Mail is possible only via the mail.com Mail Service. Please close this window and restart mail.com Mail" BUT Then there is a CHECKBOX: "Prevent this page from creating additional dialogs."
    I have no idea if Checking this Box is a Good Idea or if it will Screw-Up my mail.com Mail Service...
    Anyone have an answer or explanation of the Use of this Little Check-Box?
    BJ Orden [email protected]

    You do not get any pop-up windows on that website if you tick that box.
    That setting is stored in the cache and you should see pop-ups again if you reload the page and bypass the cache.
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

  • HELP!Can't figure out where the extra memory is coming from!

    I deleted everything off my ipod except the games so I could have a lot of memory for music and my pictures and as you know the this 2nd generation ipod nano has 892.5MB well I've only used 476.3MB for music 442.4MB photo's 33.9MB can't understand where the 245.2MB for the other is coming from unless its the games if so how do I get the games off I don't play them I just listen to the music and show my pics to family & friends I want enough memory left to put audio books on there tho.Can anyone tell me how to delete the games?

    The games that come pre-installed on the iPod can't be deleted.
    The storage space taken up by "Other" can be made up of, notes or files of any kind you've added to the iPod whilst using it as a hard disk or album artwork. Or sometimes when the iPod data base has become corrupt.
    There will always be a few MBs of used space under "other" but if it's more than that it often happens when the iPod data base becomes corrupt.
    If the iPod is enabled for disk use, you can look at the folders on the iPod through Explorer or Finder and delete anything you don't want.
    If it's a corruption it will probably need to be restored, see how to restore the iPod to factory settings which will erase the iPods contents and reclaim the used space.
    Then reload the music from iTunes.

Maybe you are looking for

  • Problems with People Recognition in PSE 9 that were not in PSE 8.

    Hello, I recently downloaded PSE 9 Trial Version and imported a PSE 8 Backup into PSE 9.  It took quiet some time but it eventually converted the library to suit PSE 9.  I have noticed a couple of small things that I find very irritating and that see

  • Acrobat X will not start

    I have Acrobat X installed and recently it stopped working. When I click on the shortcut, I see the process start in task manager but it quickly disappears. Any suggestions? I have check that the firewall or any other app is not block or terminating

  • Controlling material master access through field groups

    Hello SAP Gurus, We want to control the material master access (MM01/02) using field groups. I am unable to find any authorization object provided by SAP which can control access at field group level. My scenarios is that certain group of people shou

  • My phone freezes and the touch screen does not respond to my touch.

    My i-phone 4 has been freezing up on me as of late.  The buttons will still work but the touch screen does not respond to my touch. Is my phone hooped or can I do sometinhg to fix it?

  • Resetting range to first "page" after query

    Hi everyone, I'm using JDeveloper 10.1.3.3.0.4157. I have a table bound to an iterator, with a range size of 10. I execute a query, and navigate through the "pages". When I execute another query (with different, or the same parameters), I need the ta