Application's main window is not repainted

Hello everybody.
The system I am using
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb)I created Java Desktop application (New project - Java Desktop Application (no CRUD)) and put a JTable like this:
mainPanel[JPanel]
    jScrollPane1[JScrollPane]
        jTable1[JTable]
I did not do anything more. But after building project I have a problem with my application - main window does not repaint itself after another window is positioned over it(calculator, for example). It repaints only after I resized main window or something like that ...
What am I doing wrong?
Thank you.

I found a solution - to resolve this bug I have to set -Dsun.java2d.noddraw=true VM flag.
I found the same bug in a database - [4139083|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4139083] and it's submit date is *15-MAY-1998* !!!
There is also an issue about that kind of a problem - [6343853|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6343853], submit date 31-OCT-2005.
So, I guess unfortunately there are a lot of things to think about ...

Similar Messages

  • Smartforms main window is not printing

    Hi,
    I would like to ask what to do with this problem.
    The smartform main window is not printing in all the pages.  All the other windows, even the window with the total data is printing.  The only problem is the contents of the main window is not printing.
    Also, the problem only happens when the I've changed printer.
    When I use LOCL as printer, the smartform is OK but when I change the printer, the problem is encountered.
    This also happens when I change environment from development server to production server.  In production server, even the LOCL printer is encountering the problem.
    thanks.

    Hi Mike,
    Have you checked the device type in transaction SPAD? Try to click on Full Admininstration from application toolbar and select device types.
    Hope the above helps.
    Cheers,
    Patrick

  • Smartforms main window is not extending as it was made as a second window

    My Requirement is smartform coof two pages in which second one is an annexure.
    the second page should come for all the reports.
    now my first pages main window is not extending as it was made as secondary window.

    I created from scratch, it works well with dynamic text with both 0 and 200 lines (setup in initialization code):
    |__ %PAGE1
    |   |__ TEXT with dynamic text &GT_TLINE&
    |   |__ COMMAND : GO TO %PAGE2
    |__ %PAGE2
        |__ TEXT with text element "LAST PAGE"

  • How can I get the favorites from my favorites tool bar to open in the main window and not the sidebar?

    I created a favorites toolbar. When I click on some of the icons, they open in the main window like I expect. Others open in a sidebar which I do not want and cannot even get to full size. How do I get all of them to open in the main window?

    Generally, Bookmarks that open in the Sidebar are from links that you clicked on on web sites to add their Bookmark. To change that, right-click on the Bookmarks, opening in the Sidebar, choose "Properties" and un-check "Load this bookmark in the sidebar".
    *For links and info on Bookmarks, see [https://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks How do I use Bookmarks?]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How can I make a movable transparent main window (HTML, not FLEX)?

    Hi all-
    I'm new to AIR and coming up to speed quickly. I got a sample application up and running right away and was able to give it a transparent main window so that the corners are rounded and there is no window title bar.
    However, I can't figure out how to make it so the user can drag the application around their desktop when they click on it.
    I've seen a few FLEX examples of this but I have to work in HTML.
    Does anyone know how to set this up in HTML?
    Thanks,
    Nicholas

    "Works pretty much as I'd expect, except clicking and dragging one of the child controls in my window (e.g. a button) moves the whole window as well."
    Most user interface events (mouse up, down, etc.) "bubble" up from child elements to their parents. Since you are listening on the body element, your handler is called for every mouse down in the page since the body is the highest parent in the document.
    You can either:
    Attach the event listener directly to the element used to drag the window.
    Check the event target property to check whether the target of the event (the element moused) is a drag control.

  • Main window does not open

    This is my first post but I have been a mac user for over 6 years. I know what kind of mac users has never posted here. Sorry.
    Well I have been having some problems with apps in Tiger. When I open up apps such as iSquint, Parallels, EyeTV, Azureus & VisualHub the main window to view the app does not open or is not visible. I know it is open because of the light underneath the icon on the dock.
    I have not done much research on this issue because I thought this would be the best place to start.
    Also, when I installed Tiger I did a clean install.
    Thanks in advance,
    Mike

    I experienced the same problem with windows not opening in MS Word (2004) and Notebook. Only work-around I found was to reboot.

  • Application opens, but window does not appear on screen

    I upgraded my tunes from v6.0 to v6.01.
    When I open the application, the black arrow appears next to the itunes icon in the dock, however, the window does not open on my desktop.
    I have tried opening the application from its source in the applications folder, and have tried to open songs from the itunes library. Neither of which work.
    I dumped the application, and downloaded it again.. and still am unable to get it to work..
    How can i fix this problem?
    Thanks.

    no.. i don't get the menu bar
    nothing happens when i press command 1.
    someone suggested that i may need to re-install the operating system..
    Do you get the iTunes menu bar? What happens if you
    press Command-1 (Command-One)?

  • I want new links to open in main window and not open a new browser or tab. What happened to the "open new links in..." option?

    And when you right click on a link, the only options are "open link in new tab" or "open link in new window". I want to open the link in the same tab, I don't need 16 tabs opened at the same time.

    I fixed this problem. It was pretty easy.
    First, in the address bar, type in " about:config " .
    When it asks if you are sure about making changes & it may void the warranty, click "yes--I promise I'll be careful" or something along those lines. (I heard there is no warranty, & it's just a joke)
    Once you get to the new screen, find " browser.link.open_newwindow "
    You will see the # 3 on the same line. Change that value to 1.
    Wah-la! :)
    http://kb.mozillazine.org/Editing_configuration
    http://kb.mozillazine.org/Browser.link.open_newwindow

  • Accordian - Main window data not changing

    I'm putting together an accordion with a main area that
    changes based upon the data in the accordion that the user chooses.
    However, the main area data doesn't seem to change. Any help would
    be great!
    Here is a link (
    http://clubs.wharton.upenn.edu/welcome/accordianX.html)
    and below is the source.
    <!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>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    #apDiv1 {
    position:absolute;
    left:127px;
    top:61px;
    width:358px;
    height:259px;
    z-index:1;
    #apDiv2 {
    position:absolute;
    left:509px;
    top:63px;
    width:442px;
    height:393px;
    z-index:2;
    img.thumbs {
    float:left;
    height:"";
    width:"";
    margin-right: 0px;
    margin-bottom: 0px;
    border: solid white 4px;
    img.bigs {
    height:"";
    width:"";
    margin-right: 2px;
    margin-bottom: 2px;
    border: solid black 7px;
    -->
    </style>
    <script src="global.js"
    type="text/javascript"></script>
    <script type="text/javascript" src="
    http://clubs.wharton.upenn.edu/welcome/includes/xpath.js"></script>
    <script type="text/javascript" src="
    http://clubs.wharton.upenn.edu/welcome/includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsGallery = new Spry.Data.XMLDataSet("
    http://clubs.wharton.upenn.edu/welcome/Subs/photos.xml",
    "gallery/photos/photo");
    </script>
    <script type="text/javascript">
    var dsGallery1 = new Spry.Data.XMLDataSet("
    http://clubs.wharton.upenn.edu/welcome/Subs/photos1.xml",
    "gallery/photos/photo");
    </script>
    <script type="text/javascript">
    var dsGallery2 = new Spry.Data.XMLDataSet("
    http://clubs.wharton.upenn.edu/welcome/Subs/photos2.xml",
    "gallery/photos/photo");
    </script>
    <script src="
    http://clubs.wharton.upenn.edu/welcome/SpryAssets/SpryAccordion.js"
    type="text/javascript"></script>
    <link href="
    http://clubs.wharton.upenn.edu/welcome/SpryAssets/SpryAccordion.css"
    rel="stylesheet" type="text/css" />
    <link href="global.css" rel="stylesheet" type="text/css"
    />
    </head>
    <body>
    <div id="apDiv1">
    <div id="Accordion1" class="Accordion" tabindex="0">
    <div class="AccordionPanel">
    <div class="AccordionPanelTab">Welcome Weekend
    Co-Chairs</div>
    <div class="AccordionPanelContent"> WWCC Thumb Pics
    <div spry:region="dsGallery" spry:repeat="dsGallery"
    spry:setrow="dsGallery"><table border="0">
    <tr >
    <td >
    <img src="
    http://clubs.wharton.upenn.edu/welcome/TeamPics/Images/Pictures/Thumbs/{@thumbpath}"
    class="thumbs"
    onclick="dsGallery.setCurrentRow('{ds_RowID}');"/>
    </td>
    <td>{@desc}</td>
    </tr>
    </table>
    </div>
    </div></div>
    <div class="AccordionPanel">
    <div class="AccordionPanelTab">Committee A</div>
    <div class="AccordionPanelContent">Committee A
    Thumbs<div spry:region="dsGallery1" spry:repeat="dsGallery1"
    spry:setrow="dsGallery1"><table border="0">
    <tr >
    <td >
    <img src="
    http://clubs.wharton.upenn.edu/welcome/TeamPics/Images/Pictures/Thumbs/{@thumbpath}"
    class="thumbs"
    onclick="dsGallery1.setCurrentRow('{ds_RowID}');"/>
    </td>
    <td>{@desc}</td>
    </tr>
    </table></div></div></div>
    <div class="AccordionPanel">
    <div class="AccordionPanelTab">Committee B</div>
    <div class="AccordionPanelContent">Committee B Thumbs
    <div spry:region="dsGallery2" spry:repeat="dsGallery2"
    spry:setrow="dsGallery2"><table border="0">
    <tr >
    <td >
    <img src="
    http://clubs.wharton.upenn.edu/welcome/TeamPics/Images/Pictures/Thumbs/{@thumbpath}"
    class="thumbs"
    onclick="dsGallery2.setCurrentRow('{ds_RowID}');"/>
    </td>
    <td>{@desc}</td>
    </tr>
    </table></div>
    </div>
    </div>
    </div>
    <div id="apDiv2">
    <div spry:detailregion="dsGallery">
    <img src="
    http://clubs.wharton.upenn.edu/welcome/TeamPics/Images/Pictures/{@path}"
    ><br/>{@desc}
    </div></div></div>
    </div>
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>

    The problem is that you have the spry:setrow on the div with
    the spry:region. You need to place it on the elements that repeat.
    Also, your current setup is creating a table with one row for
    *each* item in the data set, when I think what you want is one
    table with a row for each item. Try using this markup:
    <div spry:region="dsGallery">
    <table border="0">
    <tr spry:repeat="dsGallery" spry:setrow="dsGallery">
    <td ><img src="
    http://clubs.wharton.upenn.edu/welcome/TeamPics/Images/Pictures/Thumbs/{@thumbpath}"
    class="thumbs"
    fooonclick="dsGallery.setCurrentRow('{ds_RowID}');"/></td>
    <td>{@desc}</td>
    </tr>
    </table>
    </div>
    Also, you can remove the onclick attribute you added on your
    <img> tag.
    --== Kin ==--

  • It says "you cannot open the application because microsoft windows are not supported on os x.

    i need to open these radiology images and i can't please i need some advices what to do

    What is the file format - the letters after filename - What is the .xxx ?

  • Stopping the applications main window from activating when a child window is clicked

    I am building a javascript based AIR application that implements a bastardized growl notifier.  When the the application is minimized or in the background you may be notified of a new message.  This part works great.
    The UI calls for an "X" button to close the the notification window.  When I click the "X" the application's main window is activated and brought to the foreground, but the desired behavior is that the main application window stays minimized or backgrounded.  I've tried playing around with preventDefault and stopPropagation on mouse click and mouse down events but this doesn't seem to solve the problem.  I've also tried to hook into the display state changing event on the nativeWindow to see if I could cancel activation events in this scenario but I wasn't able to get that to work.  My last ditch effort was to try and tap into the AIR platform events for mouse click and mouse down, with the rationale that these things are handled in AIR and by the time it gets to the webkit engine, it's already too late, but that didn't seem to work either.
    It's completely possible that I'm "missing some mundane detail" and one of these approaches should be sufficient.  I've noticed that TweetDeck has the same problem so I'm wondering, is this just an "AIR thing", possibly a bug, or is this expected?
    Any help would be greatly appreciated.  I can post more information and screenshots if my explanation wasn't clear enough.  Thanks for reading.

    sloppy code
    JMenuitem open;
    public actionperformed(event e)
    if e.getsource == open
    displayframe();
    public void displayFrame(){
    JFrame = new jframe
    frame.pack()
    frame.show()
    }

  • Frame line not display in next page of main window

    hi Xpert,
    I am creating layout in SAP SCRIpt,it working fine only the main window of next page  frame line is not display.
    i m define next page as a FIRST page and writing main window of first page following coding
    /:           POSITION XORIGIN '0.50' CM YORIGIN '7.75' CM
    /:           SIZE HEIGHT '17' CM WIDTH '19.25' CM
    /:           BOX  FRAME 10 TW
    when i run the program first page are coming properly and only when i go in second page of output then main window lines not displaying.
    please guide me how to solve this problem.
    Regards,
    pravin

    Hi Praveen,
    In that case why you have to make the main window in the first page and secondry window.
    You can use it as manin window itself. Print the total amount in the main window itself in the first page. and copy that main window to the second page.
    In the first page under the main window create a text. and there u print the total value and text.
    Now copy the main window to the second page..only COPY DONT CREATE NEW.
    In the second page now under the main window create the table to print the line items. What every u add in the second page main window it will come in the first age also in the smartforms. But it will nto get printed in the first page.After the text to print the totals call the COMMAND option and call next page in that.
    Hope you got me..
    Regards
    Ansari

  • Not display main window of page

    Hi,
    My requiremnet is ,i want to display each sales order number in each page in layout.when am giving the input two sales orders,
    the first sales order (0001)dispaly its header and item details in main window finely but in second page it disaply the header data of second sales order number(0002) but does not read the main window and not display the item details of second sales order number(not showing the main window).i used the command option still not working.please tell me where i do a mistake.
    Waiting for ur reply..
    Regards,

    Hi ALI,
      When you are using command to trigger new page( In that you have to check the check box 'Go to new page' ) In this case the  the main window name of the first page and the next page shoul be same.If it is different then it will not trigger the main window of the next page. It displays the details of all other windows but main window details will not be displayed. Check this once.
    Regards,
    Rajitha.

  • Safari main window not showing up in my user account when launched

    Safari main window is not showing up when launched in my user account.
    For some unknown reason, there must be a bug with Space and Safari as when I switch from Space 1 to Space 2 (and vice versa) I can see the Safari main window for less than 1 sec but could not fix it to show up and stay in the foreground in any of the 4 Spaces areas.
    I have tried to desactivate Space or change some settings in Space but could not fix the issue.
    Last but not least, Safari is working well for all other user accounts on my Mac.
    I have updgraded my OS to 10.5.7 and Safari v4 last patch but I have the same issue for 1 month

    HI and Welcome to Apple Discussions...
    Try deleting this file. com.apple.safari.plist
    /Users/YourName/Libary/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and restart your Mac. See if that helps...
    Carolyn

  • Smartforms : Second Page Main Window not being called

    Hi All,
    The smartform has 2 different pages, with totally different layout.
    This also include that the Main window of both pages are different, having 2 different tables to fetch data.
    The main window width sizes are the same on both the pages.
    I have already used the Command node to call the second page, which it does.
    The problem I am facing now is that the Secondary windows on page2 gets displayed, but the main window does not get displayed.
    I have put a break-point in the code of main window of Page2. When executing this, it does not get triggered at all.
    Now if I change the attribute of this main main window to secondary window and then I execute it then it gets triggered and gets displayed.
    I have to keep this window as the main window as there might be chances of data overflow which should then continue printing on the next pages, therefore I cannot make it as the secondary window.
    Please tell why the Main Window is not being called? (Note: Size of Main Windowin Page2  is same as main window in Page1)
    I have searched the SDN already and did not find a solution to resolve this problem.
    Thanks in Advance.
    Regards,
    Darpana.A

    Hi All,
    I have got the solution to this probelm.
    In Page1 Main Window I have Table1 and a command node to Goto Page2.
    Just after this command node I have added Table2 which earlier was the table in Main window of Page2.
    So currently the Main window in Page2 has nothing included in it.
    Anything after Command gets printed into the next page. Table2 is a part of Main Window in Page1 which gets printed into Main window of Page2.
    Thanks for all your replies.
    Regards,
    Darpana.A
    Edited by: Darpana Ahire on Aug 21, 2009 9:59 AM

Maybe you are looking for