Why won't my Frame display?

I know this is simple. If I change these components to awt (not swing) they display. As written, no labels display. Why?
    JFrame display = new JFrame("Printing Batched Reports");
    JLabel label   = new JLabel("Gathering Agencies To Report",JLabel.CENTER);
    JLabel label2  = new JLabel("Window will close when  complete.",JLabel.CENTER);
  // constructor
    public DisplayWindow()
      display.setSize(400,100);
      display.getContentPane().setSize(400,100);
      display.getContentPane().setLayout(new java.awt.GridLayout(2,1));
      display.getContentPane().add(label);
      display.getContentPane().add(label2);
      display.setVisible(true);
    }I get an empty frame.
Thanks
ST

The setting size was an act of desparation. ;-)
There must be something going on with threading. I'm using JFree to print. I'll just dumb it down to awt. It worked then. It doesn't have to do much but tell the story.
Thanks for the sanity check.
ST

Similar Messages

  • Why won't the images display in this flash widget?

    why won't the images display in this flash widget?
    http://www.coffeeandcandles.com/Wholesale_s/41.htm

    more info would help. If you're using actionscript and
    loading images from a folder maybe your path to that location is
    wrong. It's possible that your images aren't in the right layer or
    level but noticed that when initially published.

  • Why won't iCloud com display calendar subscriptions?

    I understand iCloud.com will not display subscribed calendars that are pushed to iCloud. But can anyone explain why? I know how to subscribe to calendars on my MacBook with the Calendar app there, and on my iPhone 6 as well. I know how to keep them in sync via iCloud, and it works. But when I log on to iCloud.com, those subscriptions are not displayed, and after doing some research, it seems to be working as designed...that is, Apple wants it to be that way. I just can't figure out why that's a good thing.

    You have to go to icloud.com on a computer, not an iOS device.  Also, you won't see the iCloud backup on icloud.com.  You can only tell it was successful by going to Settings>iCloud>Storage & Backup and look at the very bottom under Back Up Now.  If it was it will say "Last Backup:" and show the time your backup completed.

  • Why won't iPhoto '11 display CR2 tags for Canon 7D raw files

    iPhoto '11 won't display CR2 tags for the raw files from my Canon 7D. I didn't have any problem with my Rebel ST or any previous version of iPhoto.
    Any help to solve this problem would be greatly appreciated.
    Allan

    What a pity you didn't make the clear in your initial post. Would have saved us both some time.
    It might also help to clarify some terminology. What you are calling the "image file number" is the Title of the photo. When you haven't added a tite, iPhoto uses the filename.
    You can easily sort Raws from jpegs as Raws are automatically tagged with a keyword on import. So a quick smart album will tell them apart.
    As to why it hasn't been fixed, you will have to ask Apple that question, no one here knows and Apple aren't here.
    Regards
    TD

  • Why won't Internet Explorer display current PDF page?

    Why can't my computer's Internet Explorer display the current PDF page?

    Dear acro123,
        I fixed the problem!  I un-installed two different adobe programs (the current ver.11 and an old ver. 5, which I think caused the problems), went to the registry and removed all folders pertaining to the adobe programs, and decided to re-install the current version (ver.11) for a clean install.  This seams to do the trick.  Thank you for your concern.  By the way it was Internet Explorer, running Windows XP and the Adobe versions were 11 and 5.
        Problem: An old page from April 21st kept showing up instead of a current updated webpage.  It wouldn't update to the current page.  My solution fixed it.
        Thank you!
    Bob

  • Why won't login window display for OSX 10.8.5?

    I work as a graphic designer. My co-worker and I have been having login issues with the iMacs (3.6 GHz Intel Core i5, OSX 10.8.5) we use. Our computers have CS6, MS Office, FlightCheck, StuffIt Deluxe, and Suitcase Fusion installed as the main applications. The computers are set to put the displays to sleep at a certain time and then require the user to login at that point. Except there are times when the login display won't pop up. I've been searching for and using work arounds like fixing the permissions, resetting the PRAM, unplugging the computer, and unplugging all peripherals. These work temporarily, but nothing has resolved the issue long term.
    Has anyone experienced this login issue and resolved it?

    Did that days ago with no success.
    I have followed every instruction I can find, and even threatened both devices.  Nothing.
    I've had Macs for 12 years so am no novice.
    Alas, I was forced to get an IPhone 8 months ago because a client wanted to text me, and my flip phone wouldn't cut it.  It has been a source of continual aggravation.  All I want to do is text, make phone calls, and occasionally go on the Net.  No music, no photos, no e-mail, no games, no crazy apps, etc.  Simple.   Well you'd think so.
    Genius Bar requires a 25-mile trip, so I turn to the communities first.

  • Why won't raw images display as thumbnails in organiser?

    My raw images display only as the 'egg timer' icons in Organiser.  I can open them individually, edit and save as jpeg but cannot view them on the grid either before or after editing. This has only just started happening - two weeks ago all was well. It's such a nuisance not being able to scroll down my images in order to decide which ones to edit.
    Here's what I've tried:
    Uninstalled Elements 12 and reinstalled
    Checked for updates (all up to date)
    Updated thumbnails
    Usually what happens after my images are imported is that I see these icons and they gradually open to reveal my raw images.  Now they just stay with the timer icon and nothing more happens.
    Anyone help me before I tear out any more hair?  Thank you!

    If you can use the 'update thumbnail' successfully on individual files and open those files in ACR correctly chances are that you are facing a computer power problem. Creating a thumbnail in the Organizer means opening the image to create a reduced version. For raw files, that means reading the raw file (32 GB each for my Fuji raws...), converting it using the last settings in the xmp sidecar files, then creating the reduced thumbnail. Several seconds, even with a decent  computer.
    To get an idea of your problem, it would be good to know the type and size of your raw files and your computer specs.
    Contrary to other viewing softwares which only show the embedded jpeg thumbnail in the raw file, the organizer shows a real preview.
    Photoshop Elements (PSE) knowledge base.: How to correct hourglass (generic) thumbnail in Elements Organizer??

  • Why won't the browser display this?

    It compiles and I can run it from the command line. But when I
    try to run it from the browser it does nothing. If I remove the
    jdbc calls it displays "Antonio6"
    import java.sql.*;
    import oracle.html.*;
    public class table2
    public static void main (String args [])
    throws SQLException, ClassNotFoundException
    HtmlHead hd = new HtmlHead("Table Sample");
    HtmlBody bd = new HtmlBody();
    bd.setBackgroundColor("#fffff2");
    HtmlPage hp = new HtmlPage(hd, bd);
    // Load the Oracle JDBC driver
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    // Connect to the database
    // You can put a database name after the @ sign in the
    connection URL.
    Connection conn =
    DriverManager.getConnection
    ("jdbc:oracle:oci8:@ORCL", "scott", "tiger");
    // Create a Statement
    Statement stmt = conn.createStatement ();
    // Select the ENAME column from the EMP table
    ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
    while (rset.next ())
    bd.addItem(rset.getString(1));
    bd.addItem(new banner("Antonio6"));
    hp.print();
    null

    You cannot run JDBC/OCI program inside a browser.
    Try using THIN driver.
    Antonio (guest) wrote:
    : It compiles and I can run it from the command line. But when I
    : try to run it from the browser it does nothing. If I remove the
    : jdbc calls it displays "Antonio6"
    : import java.sql.*;
    : import oracle.html.*;
    : public class table2
    : public static void main (String args [])
    : throws SQLException, ClassNotFoundException
    : HtmlHead hd = new HtmlHead("Table Sample");
    : HtmlBody bd = new HtmlBody();
    : bd.setBackgroundColor("#fffff2");
    : HtmlPage hp = new HtmlPage(hd, bd);
    : // Load the Oracle JDBC driver
    : Class.forName ("oracle.jdbc.driver.OracleDriver");
    : // Connect to the database
    : // You can put a database name after the @ sign in the
    : connection URL.
    : Connection conn =
    : DriverManager.getConnection
    : ("jdbc:oracle:oci8:@ORCL", "scott", "tiger");
    : // Create a Statement
    : Statement stmt = conn.createStatement ();
    : // Select the ENAME column from the EMP table
    : ResultSet rset = stmt.executeQuery ("select ENAME from
    EMP");
    : while (rset.next ())
    : bd.addItem(rset.getString(1));
    : bd.addItem(new banner("Antonio6"));
    : hp.print();
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Why won't Reader X display Welcome page created in AA 9 Pro?

    I created a Portfolio file in Adobe Acrobat 9 Pro that includes a Welcome and want to view it in Adobe Reader X.  Adobe Reader X opens the file but does not launch the Welcome page first- only the file icons page is displayed.  The Welcome page is displayed properly only if the file is opened in AA 9.  Did I miss a setting somewhere in AA9 that activates the Welcome in AR X and if so, where?

    I am suddenly having the exact same error and PT 8 LE crash!!
    Regardless of what Avid website says or anyone who quotes their official statement, I have been using PT 8.0.1 on 10.6.8 since 2010 with a Mbox 1, on a Macbook Pro, a Mac Mini and an iMac. It has ran perfectly all this time, never had any issues or crashes.  I have a bunch of plug-ins and have never had one single issue with anything. Now suddenly, I had to replace a hard-drive in my iMac (2011 3.4 i7) and re-installed PT 8 and then update to 8.0.1 and I get this crash error when opening PT:  EXC_BREAKPOINT (SIGTRAP). I also cant even complete the 8.0.1 update installer because it fails at the last step: "run postflight script for Interlok Extensions".
    This is so frustrating because I have installed this software more than a few times in the past 4 years and never had an issue.  This is totally out of left-field.
    I cant find anything on the web, except I am seeing a few posts like this pop up recently. If anyone can come up with a solution, please let us know!
    Again, it is totally untrue that PT 8.0 does not run on 10.6.8 because I have recorded over a 1000 sessions on it.

  • Why won't pdf files display in safari?

    I just upgraded to Lion I am trying to view douments on a website I had no issue with on Leopard.  But now it is saying that the plug in is missing.  I checked other options I removed the adobe plug-in and nothing.  Then when i download the coument Preview isn't displaying it property.  It's illegible had a bunch of dots and lines through the text. 

    From the Safari menu bar, select Help > "Installed Plug-ins." Is the Adobe PDF plugin installed? If so, remove it from /Library/Internet Plug-Ins, relaunch Safari, and try again. That's the Library folder at the top level of your startup volume, not the (invisible) one in your home folder.

  • Why won't my phone display photos horizontally?

    4s with ios 7 will not display photos or videos horizonally?

    Try going to the Control Center and tapping the circle with the lock in it in the top right.  This locks the screen orientation in portrait mode. Also try this video to learn about the Control Center: http://www.youtube.com/watch?feature=player_embedded&v=lQVMf3b4n7E Greg

  • Why won't my rectangle display

    I'm having trouble drawing a rectangle. The code is
    attached..
    I'm certain that the function "Boxes" gets called. I'm even
    pretty certain "myRect" is on the display list. The same code in a
    script on the timeline works fine. I'm sure its something obvious
    but I can't figure it out.
    Casey

    Hi. When you had the code inside Boxes() on your timeline, it
    worked because the addChild(myRect) was running on the stage, so
    was effectively doing stage.addChild(myRect). (I'm new to
    actionscript, so I may have the "stage" terminology wrong, but I
    mean you are adding the myRect DisplayObject to the
    DisplayObjectContainer that is your stage). The way you have it
    currently set up, you are creating a new Box object, and inside the
    Box object you are making a new Sprite with a rectangle in it, and
    adding that Sprite to the Box (but never adding the Box to the
    stage).
    If I understand what you are trying to do here, I believe you
    are doing something more complex and confusing than you really mean
    to be. I believe you just wanted to make a function which creates a
    rectangle, in which case you should just do a
    function makeBox(){
    var myRect:Sprite = new Sprite();
    myRect.graphics.beginFill(...);
    addChild(myRect);
    without putting it into a class, and from your timeline you
    can just run
    makeBox();
    If you really did want to subclass off of Sprite and make a
    Box object, you don't need to create a new Sprite inside your
    constructor, as the Box object is already also a Sprite (class Box
    extends Sprite). Instead of running myRect = new Sprite(), you
    would just run this.graphics.beginFill(..) and
    this.graphics.drawRect(...) etc.. Then, on the timeline, you would
    need to run var box:Box = new Box(); addChild(Box);
    Sorry if that is confusing... is that understandable at all?
    Ken

  • Why won't my book display properly?

    A book I downloaded on iBooks doesn't display properly.  I've reloaded it several times. What could be wrong?

    What device are you trying to view the book on?
    Do other books display correctly?
    Try Restarting iBooks or restarting the iOS device.
    4. Restart the application
    If the issue affects only a single app, try closing just that app:
    Press the Home button to return to the Home screen.
    Double-tap the Home button to display recent apps.
    Tap and hold the affected app until the red minus appears.
    Tap the red minus to quit the app.
    Press the Home button, then restart the app.
    5. Restart your device
    Hold the Sleep/Wake button until "slide to power off" appears. Slide to power off your device. When it is off, press the Sleep/Wake button to turn it back on.
    (from  http://support.apple.com/kb/ts1702)

  • Why won't AngularJS pages display from DW browse?

    I am learning AngularJS, a JavaScript based framework, and when I create a page with the AngularJS library called the page doesn't work when browsed. Why would this happen? It works fine when viewed directly from the server or using Sublime. The code is very simple:
    <html ng-app>
    <head>
    <title>First AngularJS App with Controller</title>
    <script type="text/javascript" src="scripts/angular.js"></script>
    <script>
    function CostCtrl($scope) {
      $scope.cost = 1000.1;
    </script>
    </head>
    <body ng-controller="CostCtrl">
    Cost: <input type="text" id="cost" ng-model="cost" placeholder="cost" />
    <p>
    This is your cost: {{cost|currency}}
    </p>
    </body>
    </html>

    What do you mean by "from DW browse"?
    Do you mean from within Design View, Live View or while previewing local files in the actual browsers via the Preview In Browser button?

  • Why won't .pdf images display in safari

    New to Mac. I have a macbook pro and the current update of Lion OS X 10.7.1
    I may have done something but when i try to view a website that takes me to a .pdf document the image wont display. Works fine on my office destop PC

    From the Safari menu bar, select Help > "Installed Plug-ins." Is the Adobe PDF plugin installed? If so, remove it from /Library/Internet Plug-Ins, relaunch Safari, and try again. That's the Library folder at the top level of your startup volume, not the (invisible) one in your home folder.

Maybe you are looking for