Problem in viewing the components on running a window using java or javaw

hi
whenever i run a windowed application built in swing i have to resize the window in order to view the components i added to the container of the window.
but this does not happens when i use a JProgressBar
please help me out with this

Read the [url http://java.sun.com/docs/books/tutorial/uiswing/TOC.html]Swing tutorial. There are plenty of examples that work correctly.
If you still have problems then post your [url http://www.physci.org/codes/sscce.jsp]Simple, Executable Demo Program that shows the incorrect behaviour. We are not going to sit here guessing what you may or may not be doing.

Similar Messages

  • Running programs WINDOWS using java

    Hi ,
    I would appreciate if anyone could tell me how to run programs WINDOWS using JAVA language .Thank you.

    I am not quite sure what you mean by that, but if you want to execute a program use:
    Runtime.exec(String)

  • Problem in viewing the source code of a package using all_source

    I have created a package and compiled it in schema1.I have created public synonym of the package.Now I am logged in some ohter schema say schema2. If I am using TOAD, I can see the body of the package from schma2 but if I am using sqlplus and using all_source data dictionary I can get only the spec of the package.
    Could you please tell me how to get the whole package body using all_source data dictionary from other schema?

    This is the query that I am executing from other schema
    select TEXT from all_source where NAME = 'P_PACKAGE';
    SQL> select OBJECT_NAME ,OBJECT_TYPE from all_objects where OBJECT_NAME = ''P_PACKAGE';
    OBJECT_NAME OBJECT_TYPE
    'P_PACKAGE SYNONYM
    'P_PACKAGE PACKAGE

  • How to validate that all the components are running healthy in 12.1.1

    Hi All,
    I have just installed EBS 12.1.1, Is there any way to validate that all the components are running healthy?
    Thanks in Advance.

    Oracle-User wrote:
    Hi All,
    I have just installed EBS 12.1.1, Is there any way to validate that all the components are running healthy?You can verify that from OAM or from "adopmnctl.sh status" command.
    Please see old threads which discuss the same topic.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Checklist&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Health+AND+check&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Checklist+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Suddenly PDF files refuse to open, error message saying there was a problem pre viewing the document Any thoughts?

    PDF files refuse to open, I get an error message saying there was a problem pre viewing the document. Any thoughts?

    moved from Downloading, Installing, Setting Up to Creating, Editing & Exporting PDFs

  • When my ipod connect to computer,windowss want me to format the ipod,and when the process is running suddenly windows said"unable to format this disk"and my ipod can't connect to itunes. anyone can help me?

    when my ipod connect to computer,windowss want me to format the ipod,and when the process is running suddenly windows said"unable to format this disk"and my ipod can't connect to itunes. anyone can help me?

    Check the iPod Hardisk, with DiskDiagnostic as posted here by tt2
    https://discussions.apple.com/message/17776595#17776595
    It wont fix your problem, but help us both, in troubleshooting, and reducing frivolous suggestions.
    If your report says high Realloc or Pending Sector, then it's time to have your hardisk replaced.
    Have a nice day!

  • Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    I have searched my computer for that file SQlite3.dll and also file QTCF.dll and I cannot find either one when I search my whole computer for it.  I cannot fix this!  I deleted Itunes and every time I try to download it, it goes through all this download till the end when it says that iTunes.exe-entry point now found and that Procedure entry point message comes up.  HELP!  This is driving me crazy.  How can I get itunes to work again when I can't find the danged .dll file to remove, move or rename!?!?!??

  • Will microsoft office for mac 2004 transfer from my emac running 10.4.11 to the new iMac running mountain lion using migration assistant?

    will microsoft office for mac 2004 transfer from my emac running 10.4.11 to the new iMac running mountain lion using migration assistant?

    Microsoft Office 2004 will not work on any Mac running Lion or Mountain Lion. You will need to upgrade to Office 2011, buy the less expensive iWork apps from the App Store or use a free office clone like OpenOffice or NeoOffice.

  • When trying to burn a playlist to a blank CD, iTunes 10.3.1 won't recognize the blank CD I've inserted (Verbatim CD-R). I've burned using these CDs before, this is a recent problem. Not the burner, as I can burn using Toast. iMac with Snow Leopard 10.6.8

    When trying to burn a playlist to a blank CD, iTunes 10.3.1 won't recognize the blank CD I've inserted (Verbatim CD-R). I've burned using these CDs before, this is a recent problem. Not the burner, as I can burn using Toast. iMac with Snow Leopard 10.6.8

    What kind of CD are you burning (Audio or MP3)?
    If you're burning an MP3 CD, the songs must already
    be in mp3 format.
    If not, iTunes will tell you that you have no songs
    in the playlist.
    M
    I was making an audio cd. But I have since found out what the problem was. The files in my PLAYLIST I converted to aiff, since they were SDll files (I thought they were similar to AIFF, and they PLAY on Itunes...just won't burn.) When I selected the songs in the playlist and converted them...I thought all those files were converted, They were not. The converted files went into my LIBRARY, even tho I selected the ones in the playlist...and once I exchanged the SDll versions of the songs in my playlist. THEN they burned fine...but still...it's confusing..you say convert..it says it's been converted..and what they don't say is it's not been converted inside the playlist...where I had selected the songs...It just ADDED aiff versions..but only in the library...Anyway, that's what happened. But it's strange that it PLAYS SDll but won't burn them....and you'd think, logically..the ones you selected would change...but they don't. Playlists are mainly pointers to the actual files I guess...a sort of Alias..
    At least it works now. But it's sad that the latest itunes does more, but also does LESS...as I used to be able to burn SDll files. Now I'll have to convert all my files to AIFF, and mp3's as I assume my ipod video won't play anything but mp3's?

  • I want run some command using java

    hi all,
    i want run command using java code.
    from cell prompt when i run this command 'mysqldump test > /home/DBNAME.sql'
    it will create DBNAME.sql file.
    but i want to run this command using java code
    i tried the following code but it did not work.
    is any other way is their?
    try {
                   Runtime.getRuntime().exec("setxkbmap nudi");
              } catch(IOException ioe) {
                   ioe.printStackTrace();
    thanks in advance
    daya

    hello,
    thanks for replay
    i am sorry the above code should be like this.(the above code is working fine)
    public class ExportTest{
         public ExportTest(){
              try {
                   Runtime.getRuntime().exec("mysqldump test > '/root/DBNAME.sql'");
              } catch(IOException ioe) {
                   ioe.printStackTrace();
              }catch(Exception e){
                   e.printStackTrace();
         public static void main(String args[]){
              new ExportTest();
    }when run above class, it not creating DBNAME.sql file.
    when run in command prompt it creating DBNAME.sql
    ($ mysqldump test > /root/DBNAME.sql)
    but i want to run this command from java code, that's way tried to do using above
    code, but it won't create DBNAME.sql
    is it wrong what i am doing? or any other way?
    thanks inadvace
    daya

  • How to get the values from struct data type using java code..?

    Hi ,
    I am newer to java.
    we are using oracle database.
    How to get the data from struct data type using java code.
    Thanks in Advance.
    Regards,
    kumar

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How to print/list all the groups/users present in Weblogic using Java code

    Hi,
    Weblogic version : 11.1.1.5
    How to print/list all the groups/users present in Weblogic using Java code
    I want to make a remote connection to Weblogic server and print all the users/groups present in it.
    I have gone through the below mentioned site, but I cannot use the same approach since most of the API' are deprecated for example "weblogic.management.MBeanHome;"
    http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/
    Thanks in advance,
    Edited by: 984107 on 05-Feb-2013 05:26
    Edited by: 984107 on 05-Feb-2013 22:59

    see this http://www.techpaste.com/2012/06/managing-user-groups-wlst-scripts-weblogic/
    Hope this helps.

  • How to insert text in the middle of an existing textfile using java

    Hi,
    How to insert text in the middle of an existing textfile using java i/o streams??

    Mickie wrote:
    I shudn't delete the file...Then you will have the old file and the new file - do you want that?
    and I have to insert text not only at a single place ....got to do at many places in the text file!!then extrapolate on the procedure outlined in reply #1 .

  • Problem in viewing the webhelp output in a RoboHelp-DocumentX project

    Hi, I am working with Robohelp X5. The project is generated together with DocumentX and hence contains more than 15,000 files. Secondly, the proper webhelp output is extremely essential for this project as it concerns the links which are also in thousands.
    A problem has occured where the webhelp is getting generated, but I cannot view the output. The generated file occurs in the webhelp folder, but displays only a single page with no navigation pane or even the content/search tabs.
    The project had been successful in April. While updating it, I copied the Robohelp project folder and things started. Initially the prosource folder was showing an error while opening the project. When I copied it again to a different location, the project file opened and functioned fine, but the output problem is still there.
    What I have now id - The original folder with the crashed project, 2 new copies of  this folder where the project works fine and the webhelp is generated with no output.
    Please help me, because starting from scratch with DocX files is a nightmare!

    By DocumentX do you mean the Microsoft Word format .docx?
    If so I am not surprised you have had trouble. Quite simply, X5 is not Word 2007 compatible.
    I don't follow "hence contains more than 15,000 files". What's the connection with using Word that causes a high number of files that would not occur otherwise?
    15,000 topics in one project is high anyway and at the level I would expect problems.
    Are you using RoboHelp for Word or RoboHelp HTML?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Problem with viewing the tv series "Gurren Lagann" in itunes.

    When I go to the itunes store and search gurren lagann the page loads fine but when I try to view the complete series itunes stops working. This problem happens with different accounts and on different computers.
    the itunes verson that is currently on my inspiron computer is 9.0.3.15
    is this a problem with itunes or is it a problem with my computers/accounts?

    Fault Module Name: WebKit.dll
    Fault Module Version: 5.31.21.8
    That's the rendering engine iTunes uses to display the Store contents.
    There's a newer version of webkit.dll in the most recent version of Apple Application Support (version 1.4.1 as I write this post). To update your Apple Application Support, the most straightforward procedure would be updating to iTunes 10.1.1.4 ... but if you're not keen on that, we could do it by updating your QuickTime to version 7.6.9 (there's a version 1.4.1 for Apple Application Support in the QuickTime 7.6.9 installer).
    If you want to go the QuickTime-update route, here's a link to the download page for QuickTime installers. (Get the installer that doesn't mention QuickTime ... the installer file should be called "QuickTimeInstaller.exe" rather than "iTunesSetup.exe" or "iTunes64Setup.exe".)
    http://www.apple.com/quicktime/download/
    ... does your iTunes behave better with the newer version of webkit.dll in place?

Maybe you are looking for

  • Graphic Card Installation for HP Sleekbook b007ee

    Hi there.... I've a hp sleekbook b007ee laptop (i3 processor) coming with an 1 GB nvidia integrated graphics.. Now I need to upgrade my laptop with an additional graphic card.. is this possible, if yes which is the best graphic card for this laptop..

  • SQL Error : missing expression - Creating XML file with ODI

    Hi, I saw threads about errors like this and read that maybe it can come from how I chose the staging area. I still can't see where the problem is. I'm trying to create an xml file from data stored in a Oracle database. The interface which execution

  • How can I get a French for Firefox 5.0 ?

    The English version was installed when I updated to Firefox 5.0

  • SOST and SOSC items link to crmd_orderadm_h/ crmd_orderadm_h

    Hi I need to check if my items (Shopping Cart, PO, PR) are already queued for sending in SOST. I need to know where to find the Object ID of the item to match with the Object No. in SOST or SOSC. I can use GUID as well. Does anyone know?

  • Production Order - Variant Configuration of Components

    Hi experts, I want to book a part (which is on stock with serial number and variant configuration) into a production order with movement type 261-E. However, there I get the error message that the configuration does not match. If I compare the config