Why does my application begin Maximized (all of a sudden)?

Hi,
I am using netbeans 6.5.1 and JDK 6.0 and I am just teaching myself some basic stuff. I put together a small desktop application with just a few menus. When the application runs it begins in a small window in the middle of the screen. The window can be maximized and minimized back to the smaller window. This is all well and good but as I was trying to figure out how to change the default java icon in the upper left hand corner of the main frame the applications behavior changed. Now it begins as a non-maximized (by the icon in the maximize check box) window but "LOOKS" maximized as it fills the entire screen. Clicking on the maximize check box just changes the icon back and forth but the window (view) still looks like a maximized window. I removed the 8 lines of code I added but the application did not revert to the behavior it had before (small window in center of screen). Does anyone know what is going on here? Other then adding (then removing) the 8 lines of code, I haven't done anything. How can I get the applications main fram to come up as a non-naximized window?
Thanks,

Is this a Java question or a how to do something with NetBeans type question? It seems to me the latter. If you are doing all this through NetBeans and are not typing code to make these changes, then your best bet may be to find a netbeans forum. Best of luck.

Similar Messages

  • Why does mountain lion "bunch up" all my microsoft office documents that I have open when I hit f3? When I had snow leopard for example, if i had 4 or 5 different microsoft office documents open at the same time I could hit f3 and easily pick one of them

    Why does mountain lion "bunch up" all my microsoft office documents that I have open when I hit f3? When I had snow leopard for example, if i had 4 or 5 different microsoft office documents open at the same time I could hit f3 and easily pick one of them.
    Notice how in the photo, I can't identify which MS office document I would like to switch too. Perhaps since the Dashboard and Desktop windows are at the top of my screen now Apple doesn't let you have all the applications take up the full screen and be sized individually so that you can have a better idea on what to pick.
    I like the idea of grouping to an extent... If you have a bunch of random things it was hard for me to decifer between what was safari, chrome, or word. But now that they grouped them like this, if you have multiple pages of one program running, you can't switch between those pages easily like before.

    If I wanted to open any of my Applework documents I had to open them one at a time and resave them with pages. This could take weeks.I have 1000s of apple work documents.
    You don't have to open and re-save every AppleWorks document you have right now. Just wait till you need one, then do it. The documents aren't going anywhere.
    Am I dealing with Microsoft? This was a BIG surprise to me that Apple would release an OS without testing all programs.
    Frankly, it is not Apple's responsibility to ensure compatibiltiy with every piece of software available for OS X. That is the responsibility of the software vendor. Lion has been available to developers for several months before it's release, so Microtek had plenty of time to update their software. Yet they did not. How is that Apple's fault? I think Apple was very generous to give you a refund for Lion.
    I'm not trying to belittle your frustration but I do think your ire is misplaced.

  • Why does my application icons have a cirle with a slash on them?

    why does my application icons have a cirle with a slash on them?

    That means those applications cannot be run on your computer.
    There are many different reasons why that situation could arise, but without more information all we can do is speculate / guess. For example, you upgraded the OS and the apps will not run in the new OS.
    If you need more specific answers.ost back with more information, e.g. what version of Mac OS X? when did this first occur?

  • Why does iTunes no longer sync all of my songs? It only syncs 125/600, despite plenty of room on my iPod Touch

    Why does iTunes no longer sync all of my songs? It only syncs 125/600, despite plenty of room on my iPod Touch.

    Yes I've done a reset but it made no difference.

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • Why does my application give SerializationException although I have no serialized classes?

    I have created an application deployment tool for BizTalk, and it references and uses Microsoft.BizTalk.ExplorerOM apis to start, stop and manage a BizTalk application. Now when I run the tool, it gives following exception-
    Unhandled Exception: System.Runtime.Serialization.SerializationException: Type 'Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer' in Assembly 'Microsoft.BizTalk.ExplorerOM, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
    None of my classes are defined to be serializable. And the tool is created in WPF. Any idea how I might resolve this?

    Hi,
    I think the user has got this resolved at stackoverflow already.
    Why does my application give SerializationException although I have no serialized classes?
    Resolution: He was creating the instance of BtsCatalogExplorer through reflection, using connection
    string instead solves the issue.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Why does camera roll take up all my storage data and how do i get it free for space

    why does camera roll take up all my storage data and how do i get it free for space

    You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on any iOS devices that you have  by tapping on your id in Settings > iTunes & App Store (Settings > Store on iOS 5 and below) and then log back in so as to 'refresh' the account on them
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Why does my Ipod not synchronize all playlists? Some get synchronized, others don't. Yet there is enough space available.

    Why does my Ipod not synchronize all playlists? Some get synchronized, others don't. Yet there is enough available space.

    The S.I. prefix Giga is used to mean both 1000x1000x1000 and 1024x1024x1024. Computer software typically uses the second version, but using the first number makes the same number of bytes appear bigger when expressed as Gb, so is favoured by hard drive manufactures.
    80Gb10 = 74.3Gb2
    It's a bit like specifying a quantity in gallons without saying whether they are US or Imperial gallons - everybody gets the same volume but one number will be bigger than the other. I could offer you a tank with 10 Imperial gallons of fuel in it - but if I tell you it's 12 US gallons it sounds like you're getting more for your money.
    Once the total size of your library exceeds the capacity of your device all you need to do is create some size limited playlists to determine what goes on the device. Don't sync all movies, sync one or two that you plan to watch soon. Likewise with TV Shows. Limit podcasts to unplayed episodes and finally create a music subset. What worked for me for some time was a smart playlist called Steve's Tunes defined as Playlist is Music and Playlist is not Exclude where Exclude was regular playlist that I would manually add to until Steve's Tunes was small enough to fit. These days I run an iPhone and have a number of smart playlists with ? Gb of most played, ? Gb of highly rated, ? Gb of recently added, ? Gb of essentials, ? Gb of unplayed etc. Each time I sync I get slightly updated selection without having to put any extra effort in.
    tt2

  • Why does my iPad reset itself all the time?

    Why does my iPad reset itself all the time?

    Hello!
    The same happened to my yesterday night when I was charging my iPhone 5 with iOS 6.1. My first impression was that could it be and auto update (to install iOS 6.1.2) however I'm still on 6.1.
    It erased ALL my info and shows the initial configuration wizard......this is totally a mega ***!!!!!!

  • My iTunes does not recognize my iPod all of a sudden

    Hello, My iTunes does not recognize my iPod all of a sudden.  Today before I went running I downloaded some new podcasts to listen to.  I plugged in my iPod and for some reason iTunes could not recognize my iPod nano.  I run iTunes on Windows 8.1 on a Surface Pro and have successfully synced my iPod before with this system.  I do not know why it doesn't work now.
    Per the instructions on Apple Help, I went through the troubleshoot steps (i.e., restarting iTunes, restarting my computer, updating iTunes, etc.).  When all that failed, I uninstalled iTunes and reinstalled it but this still does not work.
    I cannot afford to purchase help through Apple, but I like running and I like listening to new stuff when I run.  Can someone please help me on this board?  I am pretty good with walking myself through simple computer steps.
    Thank you in advance!

    Try with the iPod in forced disk mode.
    Putting iPod into disk mode.
    Still no joy, see this.
    iTunes 7 doesn't recognize the iPod.

  • I am trying to surf the Net and every time I click the SAFARI button, a window pops up saying that this application was closed all of a sudden

    I am trying to surf the Net and every time I click the SAFARI button, a window pops up saying that this application was closed all of a sudden. What can I do to solve this problem?

    How are you connecting to this website?

  • Why does Build Application vi work in development environment but not in executable; error 1025

    Hello,
    I have an application ("A") that I am trying to build using another application ("BuildA").
    I can create an application for A manually from its project using the Build Specification, and it works fine (A.exe).
    Also, when I run BuildA.vi in the development environment it calls the "Build.vi" correctly and again builds application A.exe just fine.
    Then, when I make BuildA an application (manually) and run BuildA.exe, I would expect it to also create A.exe just like BuildA.vi did in the development environment.
    However, it fails with the error:
    Code: 1025
    Open VI Reference in NI_App_Builder_API.lvlib:Build (path).vi->BuildA.vi<APPEND>
    VI Path: <b>C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi</b>
    I noticed this thread , which looks like a similar problem, but no conclusion was reached.
    Why does BuildA.vi work fine in the LabVIEW environment, but the application BuildA.exe does not work?  All paths are hard-coded, so it shouldn't be a path issue.
    Thanks,
    -john
    Solved!
    Go to Solution.
    Attachments:
    AppBuild.zip ‏175 KB

    Interesting code.  I'm curious how you came to decide 324ms in your while loop, and 58 in the other, and then 5136ms at the end.  In any case I suspect this has to do with this line of text in the help of the Build.vi.
    If you plan to run a build specification on the LabVIEW Run-Time Engine, do not include the Build VI in any of the VIs for the build specification.
    I don't fully know what this means but it might be why it isn't working.
    The Build.vi opens all Context (application instances) and then looks for the one named "NI.LV.MxLvProvider".  This I assume is a application instance NI uses to build applications.  It then uses this and opens some other VIs in this instance for the building.  The error you are getting is "Application Reference is invalid" meaning it couldn't find the NI.LV.MxLvProvider instance it needs to build.  Again I believe this maybe because you are in a run-time environment and that instance doesn't exist there.
    At the end of the day I'm guessing since Application Builder is not free, NI probably doesn't include it in the Run-Time engine, which is free.  So you can't build the way you want.  You could have and EXE running in the run-time open an instance in the development, then run your VI from there if you must make this an EXE.  It maybe easier to just edit the BuildA.vi to have a "Run When Opened" so that you double click the VI and it runs which behaves like an EXE sorta.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Why does status bar say that all items are not loaded?

    When I have the status bar displayed at the bottom of my page, and I load a page, it usually says 4 of 5 item complete, or 6 of 7, or even one time, 92 of 93. What does this mean exactly? And why does it never say all items are completed? Is anything wrong with the browser, or is this just code for something?
    Thanks,
    Jeff

    These days web pages have many little extras, not just images, that have to be downloaded when we click on a link to a page. Sometimes, for a variety of reasons (file availability, internet problems, browser, bad coding, local cache, ISP problem) not everything downloads.
    As long as the page seems to have all the information and nothing is apparently missing, I tend to ignore this.
    When all items are completed, the status bar shows nothing.

  • Why does finder open up to all images

    Why does the finder window always shows all images?

    You can define which folder a new Finder window opens in Finder > Preferences > General tab > New Finder windows show:
    Regards,
    Captfred

  • HELP & THANKS! Why does Hour Glass appear where all Thumb Nail Photos should be in Organizer PSE 9?

    All of a sudden all new items imported into Adobe Photoshop elements  9 Organizer have an hour glass that is not moving instead of a thumbnail photograph. Update thumbnail does not seem to work. My operating system is Windows Vista. The photos are Jpeg and are on my hard drive. Some of these photos worked before with a thumb nail photo but do not now.  Thanks for any help! Anxiously waiting for an answer.

    Try Repairing your catalog
    http://help.adobe.com/en_US/elementsorganizer/using/WS88C91CD5-DCAC-4028-ABCE-E80DBD57CBBE _WIN.html
    Also try Optimizing your catalog
    http://help.adobe.com/en_US/elementsorganizer/using/WSD395F130-4D22-4da0-8C61-A46BC0A77018 _WIN.html

Maybe you are looking for

  • Error message -3221 - Could not connect to the I-Tunes Store

    I last accessed the I-Tunes store on November 3, 2007 with no problems. The last week of November I received the following error message. "I-Tunes could not connect to the I-Tunes store. An unknown error has occurred (-3221)." I have the latest versi

  • Installing Photoshop Elements 9

    I bought a new iMac and I am trying to instal Elementt 9 on the new computer but I am not having any luck. Can you help?

  • What's with the instability?

    Wow, what a bummer this is! I got away from iMovie mostly because of it's instability. I thought sure FCPX would be more stable, but this 10.0.7 either locks up my computer so I have to do a force shutdown, or it Quits while I'm viewing the import wi

  • FCP export using compressor

    does anybody know where the jobs compressor submits get stored? I can't export via compressor out of FCP 6.1, (FCP quits responding) but if I export a quicktime then get that in compressor using a quemaster quick cluster, it rocks along fine until I

  • Lumia Black Update Notification for my L920(India)...

    Hi, I am from India and using Nokia Lumia 920 brought in India itself but I am not getting the Lumia Black Update Notification. Can anyone please help me how to get the update notification.. Do I need to tweak any settings to get the notification? An