Iconed labels and iconified JFrame

Hello everybody,
I have a problem with a strange behaviour of a JFrame.
In order:
1. I initialize a JFrame with a JSplitPane
2. The left component is a JPanel containing 64 JLabels, each with an Icon in it.
When the frame is coming up, everything is displayed proper. But when I iconify the frame and deiconify later nothing is to see, but a blank frame. The labels will be redisplayed after clicking on the position, where the splitpane-divider should be.
I'm using jdk1.4
Can anybody helpme?
Thanks

hi,
hope you've used the frame's getContentPane() method for adding the splitpane, if yes, then that might be some kind of a bug, anyways, add a window listener overriding the windowDeiconified(WindowEvent) method & call the frame's repaint() method,
hope this helps you,
reagrds,
Afroze.

Similar Messages

  • Is there a way to increase the icon size (and the text below) without using zoom?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Is there a way to increase the icon size (and the text below) without using zoom in iOS 7?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Hello Apple.
    It seems you have gone to great lengths to improve accessibility in many areas of the iPad. Why was this obvious problem with icon text size missed?  (It's not with the Mac.). And for so long too.
    Do you employ people with actual accessibility problems to help you do UI design?
    I think too, that some buttons are too close for people who might have motor control problems.
    I love my iPad but I fear as I age, the iPad might not keep up with me.

  • Running latest version on OS X and mail.  What happened to the icon labeled "not junk?"  Is there any way to brink it back?

    Running latest version on OS X and mail.  What happened to the icon labeled "not junk?"  Is there any way to bring it back?  Thanks in advance!

    Make sure your Junk Mail settings are properly set up, right now neither of those messages are marked as Junk Mail.  When Mail identifies an item as Junk Mail or you manually do, it will add the text "Mail thinks this message is Junk Mail" or "You marked this message as Junk Mail" to the message.  Right now this just looks like regular SPAM that you might get that hasn't been properly identified as Junk Mail or when Junk Mail Filtering is no enabled.  Remember Mail needs to learn what is and is not Junk Mail over time, so if you have recently reset your mail settings through a reinstall or the like, it may still be learning.
    1.  Do you have a Junk folder (system created) as one of your mailboxes?  If there is none, it means that Junk Mail filtering is not enabled or has been enabled but the system has yet to identify any mail as Junk.
    2.  If you do have a Junk folder, try dragging a piece of mail into the folder to see if the banner I am referring to appears.  It should.  You should be able to unmark the mail and drag it it back in your inbox.
    3.  If you manually mark the mail as Junk, does it move into the Junk folder and have the banner I am referring to?  It should.
    4.  If any of the above is not happening, first check your mail settings using the guides below:
    Mail (Yosemite): Reduce junk mail in your inbox
    Mail (Yosemite): If junk mail filters aren’t working correctly
    If all seems correct and it's still not working right, try rebuilding your mailbox:
    Mail (Yosemite): Rebuild mailboxes
    If none of these help you, please post back and we'll try something else.  Oh, and clear out your Previous Recipients window of any unwanted email addresses.  Anything listed in there is usually ignored by the Junk Mail filters.

  • I drag my app.to the dock , there is no icon, just the label and it works, don't know where it went

    i drag my app.to the dock , there is no icon, just the label and it works, don't know where it went

    Hello, do you have a screen shot of that?
    Is it possible it didn't quite make it to the dock & dropped on the Desktop?

  • Printing Problem with labels and envelopes

    I have Microsoft office:mc 2004 and cannot print labels and envelopes. Whenever I ask to print it boots out and states that there is a problem and ask me to report the problem. I have reported it 20 times in the last 2 days with no response from apple. Can anyone give me any input on how to correct this problem? I have a HP laserJet 3050 all in one printer and did not have these problems when I was using a PC with windows. Please help as I am at my last of my patience on this problem. Thanks and please use language I can understand as I am not computer literate on all of the lingo that is being used.

    Hi Lilmac, and a warm welcome to the forums!
    Have you installed a Printer Driver later than the one that comes on the CD? hp generally includes older ones.
    Tough to say with so little to go on, but since it could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot.
    The usual reason why updates fail or mess things up, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates.

  • How to change the java cup icon for all the JFrames?

    Hi,
    I would like to know if I can change the Java cup defult icon that appears in the upper left corner of the JFrames in one time, instead of setting the JFrame's icon in every created JFrame.
    Regards,
    Gabriel

    Then don't set the parent to null. If you don't want a parent, just set it to
    JOptionPane.showMessage(new IconFrame(), ...
    [\code]
    where IconFrame extends JFrame and sets the icon in it's constructor.  The optionpane will then use the icon from it's parent frame.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to adjust userChrome.css to move the #identity-icon-label to the right side of the #urlbar?

    I hate the way the #identity-icon-label moves the URL over to the right. I've applied a patch to just hide it, but I'd rather make it behave more like IE8 and just have that box show up way over at the right end of the #urlbar.
    So far, my customization experiments in userChrome.css havent yielded the desired result. Also, I thought it would be nice for someone else to be able to search and find a solution to this issue. (If it can be answered.)
    Thanks :)

    Try code like this to set the wanted order.
    <pre><nowiki>
    #urlbar .textbox-input-box {-moz-box-ordinal-group:1!important}
    #identity-box {-moz-box-ordinal-group:2!important}
    #urlbar-icons {-moz-box-ordinal-group:3!important}
    </nowiki></pre>

  • Losing folder labels and ratings

    This has been a very frustrating problem that I've had for years, now, and across several versions of Adobe Bridge. In a nutshell, Bridge seems to randomly lose labels and ratings on folders.
    Further information: I am not moving nor copying these folders. If anything, I periodically add some files to some of them, but there are several that I don't even touch. One day, I'll give some of these folders a label and a rating, and the next day, some of them have lost their labels and all of them have lost their ratings. Why is this? I know that labels and ratings are primarily meant for individual files, particularly images likes JPGs, but I've never seen anything that says they cannot be used with folders. Also, note that none of my labels and ratings have disappeared from files; this only seems to be a problem with folders. Please help me to understand and fix this issue.

    Also, note that none of my labels and ratings have disappeared from files; this only seems to be a problem with folders. Please help me to understand and fix this issue.
    Can't help you much because I never have used labels and ratings for folders. However, like a Raw file, folders itself are not capable of storing XMP metadata, while DNG, jpeg, tiff PSD etc, can store this metadata in the file itself. When you rate or label a folder in Bridge this metadata is stored in a hidden file with a document icon called ".BridgeLabelsAndRatings".
    You can check yourself on a folder with subfolders you have not rated before, in Menu View check the option to show hidden files, rate or label one folder and this file will show up. So either something has gone wrong with this file or you did unknowingly removed it somehow, just my guess.

  • Gui labels and buttons not showing...

    I am using Java to create a gui and so far I have everything working.
    But there is a section of code thats not working out and Ill post the whole file here (not very big) to let you guys see whats going on. The issue lies in the action listner where I state "if a text feild is empty, display the option pane, else show the following" and its not showing the labels and buttons.
    Help?
    package student.information.search;
    import javax.swing.JFrame;
    import java.awt.GridBagLayout;
    import javax.swing.WindowConstants;
    import java.awt.Rectangle;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import java.awt.ActiveEvent;
    import java.awt.Frame;
    import java.awt.GridBagConstraints;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import student.information.readonly.ReadOnlyStudentForm;
    public class StudentSearch extends Frame implements ActionListener
       JTextField textField = new JTextField();
       JFrame frame = new JFrame();
       JPanel contentPane = (JPanel) frame.getContentPane();
       GridBagLayout gridBagLayout = new GridBagLayout();
        public StudentSearch()
            gridBagLayout.columnWidths = new int[]{20, 0, 12, 137, 17};
            gridBagLayout.rowHeights = new int[]{26, 0, 6, 0, 20};
            gridBagLayout.columnWeights = new double[]{1, 0, 0, 0, 0};
            gridBagLayout.rowWeights = new double[]{0, 0, 0, 0, 1};
            contentPane.setLayout(gridBagLayout);
            JButton button = new JButton();
            button.setText("Search");
            button.addActionListener(this);
            contentPane.add(button, new GridBagConstraints(3, 3, 1, 1, 0.0, 0.0, 13, 0, new Insets(0, 0, 0, 0), 0, 0));
            textField.setColumns(8);
            contentPane.add(textField, new GridBagConstraints(3, 1, 1, 1, 0.0, 0.0, 768, 2, new Insets(0, 0, 0, 0), 0, 0));
            JLabel label = new JLabel();
            label.setText("Student Seach");
            contentPane.add(label, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, 256, 0, new Insets(0, 0, 0, 0), 0, 0));
            frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            frame.setTitle("Student Search");
            frame.setBounds(new Rectangle(500, 0, 500, 320));
            frame.setVisible(true);
       public void actionPerformed( ActionEvent arg0)
            if (textField.getText().equals(""))
              JOptionPane.showConfirmDialog(null, "Please enter a value in the search feild", "Error", JOptionPane.OK_CANCEL_OPTION); 
            else
               //Show the text fields here and the user information. 
                 *  While there are students for this search, change the text fields to Name, Last Name and ID and have a button called
                 *  View that when clicked allows for you to view all that students information.
                JLabel firstName = new JLabel();
                firstName.setText("Label");
                contentPane.add(firstName, new GridBagConstraints(5, 5, 1, 1, 0.0, 0.0, 768, 0, new Insets(0, 0, 0, 0), 0, 0));
                JLabel lastName = new JLabel();
                lastName.setText("Label");
                contentPane.add(lastName, new GridBagConstraints(3, 5, 1, 1, 0.0, 0.0, 256, 0, new Insets(0, 0, 0, 0), 0, 0));
                JLabel studentID = new JLabel();
                studentID.setText("Label");
                contentPane.add(studentID, new GridBagConstraints(1, 5, 1, 1, 0.0, 0.0, 256, 0, new Insets(0, 0, 0, 0), 0, 0));
                JButton viewStudentInformation = new JButton();
                viewStudentInformation.setText("Search");
                viewStudentInformation.addActionListener(new ActionListener()
                        public void actionPerformed(ActionEvent e)
                               //For viewing individual student information
                                new ReadOnlyStudentForm();
                contentPane.add(viewStudentInformation, new GridBagConstraints(7, 3, 1, 1, 0.0, 0.0, 13, 0, new Insets(0, 0, 0, 0), 0, 0));
    }

    In general when adding or removing components for a visible GUI you need to use:
    panel.add(...);
    panel.revalidate();
    panel.repaint();

  • Can i turn off icon labels in Symbian ^3 on my N8?

    just updated my N8 from anna to belle and my first inclination is to turn off what was originally called tool tips, or the superfluous labels underneath each icon in the GUI.  i mean isn't that what the G stands for - Graphical?  the Nokia representative checked on it, but could find no user setting to resolve this.  she did say that in fact these labels are 'theme' controlled so i'm off in search of a (third party?) theme that would render my icons label-less...

    hi mate,
    there may be some custom themes that remove this label, but normally you cannot turn them off, no. i personally have no issue with them and find them quite useful in time.

  • Lost labels and flag in Aperture 3

    All of a sudden, using Aperture 3, my color labels and flags disappeared from my split view,
    I've seen this once before, but I can't find out how to turn in the view of both the color label and orange flag in the upper right corner.
    Thanks, !

    "View ▹ Metadata Display ▹ Switch ... ".
    If that doesn't work, customize the Metadata Overlays at "View ▹ Metadata Display ▹ Customize".
    There are some posts on this forum as well.
    Note there is a Tool Strip icon for this as well.  The Tool Strip is in the bottom border of both the Browser and the Viewer.  The icon depicts a paper luggage tag with a 5-pointed star on it.
    If that doesn't help you straighten things out, post back.
    —Kirby.

  • Is there any way to see full icon label on desktop or in folder?

    Is there any way to see full icon label on desktop or in folder...like in windows...for example for "Macintosh HD" I see "Mac...HD", but I want to see "Macinto..."? Is there any way to change this? I have in many folder files with similar names, and I need to click twice on each file to see its full name and it can be really annoying...

    In Finder, just drag the divider bar further to the right while holding down the option key to see the full label (using the 'option' key will make the width preference stick).
    On the desktop icon, hold down 'contro'l and click on the icon. Choose 'Show view options' then make the grid spacing larger.

  • Change the Data Elements Text (Label and Description)

    Hi,
    I need to change the data elements label and short description in Development and transpot it into quality and Production system.
    I could change the label and short description using the Menu Goto --> Translation. But the system does not prompt for the transport request. Can you please any one help me how to attach a transport request to the changes (Translations) done on the Data Elements? It would be a great help!.
    Thanks andn Regards,
    Kannan

    I'm not getting a transport request either.  Any I know it is not a local object and not already on a transport.  To attach it to a transport.   Now on the first screen of SE10, there is  a "tool" icon, click it.  In the next screen,  put your cursor on the "Include Objects in a Transport Request and click execute.  On this screen, select the radiobutton for "Selected Objects".  Now in the row for data element, check the check box on the left, and enter the name of the data element on the right.  click execute.  In the next screen, put your cursor on the data element  click save in request.  Here you can create a request.
    Regards,
    Rich Heilman

  • Dock:  HOW make icon label letters easier to read what icon is???? Too smal

    Dock: HOW make icon label letters easier to read what icon is???? Too small and is white, so often not easy to see or read. Is there a way to make the icon lable letters in the dock bigger? And is poss to change color to black or read or something besides white (since background is oftenn white when working with documents, papers, etc.)?
    Y are being appreciated right now for your future help in thisregard. Thank you.
    Panther

    Hi thelnukus,
    In the Apple menu you will find "Dock". When you pick this you will see a number of things you can do.
    1. Turn Magnification On/Off. If this is on, the icons will get larger as you put you mouse over then.
    2. Dock Preferences. If you pick this you will see a window open up with more options.
    Dock Size, lets you set the size of the of the Dock.
    Magnification, lets you set the size the icons get to when you put your mouse over them.
    You can set "Magnification" to large and the icons will get large as you put your mouse over them.
    If you set the "Dock Size" to small and the "Magnification" to large, the Dock will be very small, but when you put your mouse over the icons the will appear very large and easier to see.
    You can also just set the Dock Size to large or a bit larger as well.
    I do not know if the color can be change at all.
    I hope this helps
    Joe

  • Cannot Remove Drop Shadows for Icon Labels on Windows 8.1 Desktop

    I have a new Dell Laptop with Windows 8.1 and a touch screen.  The Icon labels on the Desktop have black shadows on white text. I have searched for answers and have tried the following, none of which worked.  Is there anything else I can try?
    Removed the checkmark by "Use drop shadows for icon labels on the desktop" under System Properties, Advanced, Performance Options, Visual Effects tab, clicked on Apply, rebooted.  Verfied that the ListViewShadow DWORD value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    is set to 0 (zero).
    Made sure that the "Show my desktop background on Start" on the Taskbar and Navigation properties Navigation tab is unchecked.

    Hi,
    Have you restarted the computer before checking the results?
    Also, I suggest you configure this registry key since HKEY_CURRENT_USER is just a mapped one of current user:
    HKU\S-1-5-21-************\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow
    Note: Find your user GUID under HKU.
    Kate Li
    TechNet Community Support

Maybe you are looking for

  • The iphone not working after the apdate

    My iPhone does not work after update ios 7

  • Exchange Server 2013 SP1 - Optimize for Single Server Use

    Hello, i've set up Exchange 2013 SP1 with at last CU6 - get exchangeserver says: AdminDisplayVersion             : Version 15.0 (Build 995.29) ExchangeVersion                 : 0.1 (8.0.535.0)              - - - funny number ;-) (is this an early ver

  • ** RFC to JDBC scenario - SYSTEM_FAILURE exception comes - urgent help

    Hi Friends, I have completed RFC to JDBC scenario. When execute RFC in the system, it throws an exception SYSTEM_FAILURE. What could be the problem ..?  The message is not entered into SXMB_MONI. In the backend system itself, it throws error. Kindly

  • Mini 10.8.2  I have tried restarting Safari & checking  for extensions!

      When I try to go to Face Book, Safari gives me a message that it can  not establish a secure connection to Face Book!   I have a MAc Mini  Version 10.8.2  Memory 4 GB 1600 MHz DDR3   I have tried resetting Safari, and have checked for Safari Extens

  • RH 6 - Conditional areas

    Hello, I'm trying to use the new feature of conditional build tags : the hide/show conditional areas system. It works perfectly when I want to hide the conditional areas in TOC, Project and Index tabs. I just have to select the tab and use the View m