Working-Frame is empty

Hello,
I have a little problem with a JFrame. I have a function wich sends a Query to a Database. The result is displayed in a table. When this function works I want to display a frame with an animated gif wich shows, that the programm is still running. But the frame is empty. The gif appears when the work is done.
Sorry for my english. Please help.
Her is may Code:
public class FWorking extends JFrame {
private ImageIcon icon1 = new ImageIcon("img/cutesharp53.gif");
private JLabel label = new JLabel(icon1);
public FWorking() {
getContentPane().setLayout(new BorderLayout());
setBounds(10,10,250,100);
getContentPane().add(label,BorderLayout.CENTER);
public void close(){
setVisible(false);
public class Animation extends Thread{
private FWorking work;
public Animation(){
work = new FWorking();
public void run(){
work.setVisible(true);
In main:
Animation ani = new Animation();
ani.start();
for(int i=0;i<3;i++)
DrawTable(i);

try setting the priority of your animation thread to a higher level,
else checkout MediaTracker:
http://java.sun.com/j2se/1.4.1/docs/api/java/awt/MediaTracker.html

Similar Messages

  • When the user press the button Calculate Tax (see attached doc) and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.

    When the user press the button Calculate Tax  and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.
    All setup looks fine.
    Please let me know what can be done on this?
    Regards,
    Peu

    HarryAustralia wrote:
    I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
    The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
    That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
    You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
    Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again.

  • K5400 Cyan no longer working - tube looks empty - how to fix?

    Last night my cyan stopped working in the middle of a page.  I did not get any warnings at all but suddenly it was out of ink. I replaced the ink cartridge with a brand new HP88XL (purchased direct from HP) and now Cyan does not print at all.  I have tried everything to no avail and I have checked the lines, etc.  I am reluctant to buy a new printhead if I don't have to, is there anything else I can try?  
    edited to say:
    I looked at the tube going from the ink to the printheads and the cyan tube looks empty, you can see some little splotches of ink.  How can I get the ink to go into it again?  I am really bummed because my brand new ink cartridge seems to have already lost a great quantity in all the efforts I have made (not to mention the magenta from all the printhead aligning / cleaning).  Please help!

    Hello Snoopygirl, and welcome to the HP Forums.
    I see you are having cyan ink issues.  I would like to try and assist with that.
    I would recommend performing a power reset. Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    I would also recommend following all the steps listed in this document on Troubleshooting Print Quality Issues.
    If these do not work, I would recommend contacting HP directly.  You can utilize this website to learn how to contact HP appropriately, based on your region: Contact HP Worldwide.
    Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Solaris 10 x86: Update Manager quit working and shows empty warning message

    All,
    A little while ago my Update Manager stopped working. When I check for updates, I am getting an empty warning message box that has literally no text but only a yellow triangle with an exclamation mark in the upper left corner and an ok button.
    Once confirmed, nothing happens. Googled the issue but so far no luck.
    Any hints?
    Thanks
    GS

    Had the same problem. Look here:
    http://forums.sun.com/thread.jspa?threadID=5348727
    Hope that helps!
    Jeremy

  • param name='progressbar' value='true' is not working, shows as empty

    Hello everyone,
    I have a very odd problem with the above tag within an applet. I am running the same applet, using the same JVM version and same browser version, but on different LANs.
    On one system, the progress bar will correctly update as the Jar file is being downloaded. On the other system the progress bar will just remain empty until the Jar file has been downloaded, and then it will show as full.
    I have searched google, java.sun.com, the forums, and the bug parade. I haven't found anything to describe this situation. Does anyone know why the progress bar would just stay empty like this? Could firewalls, etc, have anything to do with it?
    Thanks for any/all help!

    Thanks for the reply.
    The same thing has been observed on both JVM 1.4.0_00 and 1.4.2_02. It works on one lan and doesn't on the other.
    The only difference is the machine. One is a sun blade and the other is a sun utlra. They are also on different lans, so different firewalls, etc. But I wouldn't think these should pose a problem.
    Other than that, all things are equal. I tested using the same browser version, netscape 6.2.2 and netscape 7.0. The same is OS, solaris 8. The same jvm, both 1.4.0 and 1.4.2.
    Thanks again!

  • Premiere Elements 7 - When play my work frame problems occur. codec issues?

    Hello,
    I use Premiere Elements 7 to edit my videos; however, recently I have found that most of the videos I add to my work shows a frame problem every time I play. I am not so familiar with the terms but I will try my best to explain how it happens.
    1. I open a new project
    2. Add a video (usually avi format)
    3. I play the video whitout editing.
    4. I see that after every 5 frames there is a frozen frame (like a dublicate of the 5th frame)
    It results me to cut my video in every 5 frames to get rid of the frozen frame and it takes a lot of time.
    What would be causing that? When I play the video with my media players it shows perfectly but when I add it to Premiere Elements 7 to edit, this is what happens.
    I also see that there are multiple fddshow icons on the right bottom of my screen.
    I assume there is something wrong with the codecs. In that case, what would be the best codec to have in order to edit my videos on PE7?
    What do you suggest I do?
    Thank you in advance.

    Dear Bill,
    I have formated my computer and reinstalled my operating system Vista Home 32 bit. Then I switched from PRE7 to PRE8.
    This is my computer info below;
    CPU Türü QuadCore Intel Core 2 Quad Q9300, 2500 MHz
    4GB RAM
    ATI Radeon HD 3600 Series 512 MB
    I have AVC Core 2.0.0 codec, NVIDIA PureVideo codec for MPEG, K-lite MEga codecs installed as they are-without any configuration.
    Gspot still shows Xvid codec XviD ISO MPEG-4.
    File Length Correct
    Multipart OpenDML AVI (2 parts)
    (69639 frames in first part, 2663 frames follow)
    Interleave: 1 vid frame (40 ms), preload=504
    Audio frames: Split across interleaves
    [JUNK] VirtualDub
    [JUNK] MPEG2 build 24586/release
    [ISFT] VirtualDubMod 1.5.4.1 (build 2178/release)
    [USER] XviD0050
    So I assume Xvid was used for this file. Considering that what would you reccomend me to do in order to view this file and be able to edit on PRE8?

  • Encfs filename decoding error (mounting works, mountpoint is empty)

    Hi!
    a fairly large (1.9 GB) encfs-encrypted directory of mine stopped working some time ago, and I am hoping someone here can help me regain access to the data.
    This is the situation:
    – The directory can still be mounted, but the mount directory appears empty.
    – The encrypted data seems to be intact: There is a ".encfs6.xml" and a hierarchy of gibberish-named files and folders, which amount to 1.9 GB altogether.
    – I can still write to the directory. (I. e. if I mount the dir, create file with "touch <file>", unmount, and remount again, the newly created file is still there.)
    – When I run encfs with the "-vf" options, I see these error messages:
    20:42:00 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    20:42:00 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    – When I do "ls" on the dir, the command works, while "encfs -vf" says:
    20:57:09 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/morrigan/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    20:57:09 (encfs.cpp:99) getxattr error: Operation not supported
    The full output of "encfs -vf" is quoted below. You may notice the the encrypted data is accessed through an sshfs mount. This is not the present source of the problem, as I can reproduce it directly on the server. It may, however, be its origin: The data could have been corrupted by a network interruption (or so I imagine).
    There is a similar problem report on askubuntu. It is even from around the same time when it hit me (roughly two months ago):
    http://askubuntu.com/questions/360847/e … g-the-data
    Also, there apparently was a bug in the boost libraries in 2010 which produced similar errors (among others), but which does not seem to be connected in any way:
    https://bbs.archlinux.org/viewtopic.php?id=92209
    Any ideas?
    $ encfs -vf /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/ /home/carlos/.gemein/encfs/
    21:03:07 (main.cpp:523) Root directory: /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:07 (main.cpp:524) Fuse arguments: (fg) (threaded) (keyCheck) encfs /home/carlos/.gemein/encfs/ -f -s -o use_ino -o default_permissions
    21:03:07 (FileUtils.cpp:177) version = 20
    21:03:07 (FileUtils.cpp:181) found new serialization format
    21:03:07 (FileUtils.cpp:199) subVersion = 20100713
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (FileUtils.cpp:1620) useStdin: 0
    EncFS Password:
    21:03:20 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:20 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:21 (FileUtils.cpp:1628) cipher key size = 44
    21:03:21 (Interface.cpp:165) checking if nameio/block(3:0:1) implements nameio/block(3:0:0)
    21:03:28 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:28 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:213) getdir on /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (BlockNameIO.cpp:185) padding, _bx, finalSize = 139, 16, -123
    21:06:41 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    21:06:41 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:99) getxattr error: Operation not supported
    Edit: I have by now resigned myself to the fact that the file .encfs6.xml must have been corrupted somehow, which means that the data are unrecoverably lost. Lesson learned: Backups are extra-important for encrypted data!
    Last edited by Franek (2014-03-03 21:14:16)

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • Finder not working well-folders empty, icons disappearing...

    Since i updated to yosemite from mavericks, finder has been extremely annoying, making my mac almost unusable at times: When i open a folder, sometimes non of what's in it appears (although the items are there, if i click randomly it'll open some)
    Also in folders where i have a lot of items in, when i scroll, the folder window freezes, and the icon dissapear. And often when i click on an icon inside a folder, it doesn't "highlight" it, but if i double click it does open it. It's extremely annoying since im currently doing some sorting out...
    Also my internet has been extremely slow since yosemite, even tho im ethernet connected, which i usually am not.
    PLEASE HELP!!!

    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/
    com.apple.finder.plist. Move the .plist to your desktop.
    Re-launch Finder by restarting and test. If it works okay, delete the plist from the desktop.
    If the same, return the .plist to where you got it  from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • A catalog i was working on is empty...???

    I imported pics w no problem, saved them to a catalog and deleted pics I didn't want so only pics that were going to be edited later are left.
    When bringing up Lightroom today, the catalog is there but there's nothing in it.
    I did check to see if they were under "My Pictures" for the date but there's no folder. So, did it not really import them or something?
    Version: Lightroom 4.4

    You may have (accidentally) opened a new catalog, which is empty.
    Look under File->Open Recent and see if any of the catalogs listed there are the one you want.

  • Flex 4 asdoc not working on the empty project

    This is under purchased Flash Builder software:
    Create a Flex project, and setup asdoc under external tools with the following configuration:
    -lenient
    -source-path src
    -doc-sources src
    -main-title "Flex API Documentation" 
    -window-title "Sample Project API Documentation"
    -external-library-path=libs
    The asdoc fails with the following error:
    Loading configuration file C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\flex-config.xml
    Error at xsl:copy-of on line 109 of class-files.xslt:
      java.net.URISyntaxException: Illegal character in path at index 20: file:///C:/Documents
      and Settings/mdeliw/Adobe Flash Builder 4/sampleProject/asdoc-output/main.html
    Transformation failed: Run-time errors were reported
    Has anyone encountered this, and if yes, have they found a resolution?

    The AVG Safe Search extension has been reported to cause this issue.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Removing empty text frames

    trying to remove any text frames with empty content but it doesn't seem to be removing correct textFrame layers, any idea what I might be doing wrong?
    var numberOfEmptyTextBoxes = 0;
    var layersWithNoText = new Array();
    if ( app.documents.length > 0 ) {
        for ( i = 0; i < app.activeDocument.textFrames.length; i++ ) {
            text = app.activeDocument.textFrames[i].textRange;
            numWords = app.activeDocument.textFrames[i].words.length;
            if (numWords == 0){
                      layersWithNoText.push(i);
                numberOfEmptyTextBoxes++;
        if(numberOfEmptyTextBoxes > 0){
                  alert("WARNING you have " + numberOfEmptyTextBoxes + " empty text boxes");
        alert("layers with no text:" +layersWithNoText);
        removeTextLayersWithNoContent(layersWithNoText);
    function removeTextLayersWithNoContent(layersWithNoText) {
              var layersWithNoText = layersWithNoText;
              for (var i = 0; i < layersWithNoText.length; i++) {
                        var currentIndex = layersWithNoText[i];
                        alert("current index: "+currentIndex)
                        app.activeDocument.textFrames[currentIndex].remove();

    yes, to do it like that, you would have to loop backwards to remove the textframes and not mess up with the indexes,
    or, push the textframes into your array like this
    var numberOfEmptyTextBoxes = 0;
    var layersWithNoText = new Array();
    if ( app.documents.length > 0 ) {
        for ( i = 0; i < app.activeDocument.textFrames.length; i++ ) {
            text = app.activeDocument.textFrames[i].textRange;
            numWords = app.activeDocument.textFrames[i].words.length;
            if (numWords == 0){
                      //layersWithNoText.push(i); // don't push the indexes
                      layersWithNoText.push(app.activeDocument.textFrames[i]); // push the actual text frames
                numberOfEmptyTextBoxes++;
        if(numberOfEmptyTextBoxes > 0){
                  alert("WARNING you have " + numberOfEmptyTextBoxes + " empty text boxes");
        alert("layers with no text:" +layersWithNoText);
        removeTextLayersWithNoContent(layersWithNoText);
    function removeTextLayersWithNoContent(layersWithNoText) {
              var layersWithNoText = layersWithNoText;
              for (var i = 0; i < layersWithNoText.length; i++) {
                        var currentIndex = layersWithNoText[i];
                        alert("current index: "+currentIndex)
                        //app.activeDocument.textFrames[currentIndex].remove(); // removing 1 item re-indexes the remaining items
                        layersWithNoText[i].remove(); // remove the textframes in the array, regardless of actual index

  • Sorting is not working in infragistics when empty value in the column

    Hi ,
    i am using <ig:gridView> in my application. i have many columns in the grid view(ig means third party infragistics component). But in my case sorting(sortBy attribute in ig:column) is not properly working when the empty values in the column(DATA_ROW.source). This is a severity bug in my application. I have two days to deploy our project. I already hosted my bug report to the infragistics website. Please reply ASAP.
    <ig:column style="border:1px" sortBy="source">
    <f:facet name="header">
    <h:outputText style="color:#245B89;text-decoration:underline" value="Source System " title="Click to sort" />
    </f:facet>
    <h:outputText value="#{DATA_ROW.source}" />
    </ig:column>

    Hi,
    You can refer this post-
    https://social.technet.microsoft.com/Forums/office/en-US/b748bb03-4881-4aa5-9c87-bd4558b9201c/unable-to-sort-task-lists-by-assigned-to-column?forum=sharepointadminprevious
    Thanks,
    Danny
    Please remember to Mark as Answer if it works or vote of it is helpful

  • Work table empty

    I'm trying to match a temporary table (source) with a xml file (target) and i got the following message :
    Caused By: java.sql.SQLException: Try to insert null into a non-nullable column: column: E1FIKPFPK table: TMP_E1FIKPF in statement [insert into TMP_E1FIKPF (BUKRS) select        C1_BUKRS from TMP_C$_0E1FIKPF where     (1=1)]
         at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatementRedirector.executeUpdate(SnpsXmlPreparedStatementRedirector.java:629)
    The previous step (create table & loading src) are good, but apparently my work table is empty.. however when i'm executing my sql request by myself, i'm getting all my data..
    I just can't understand why.

    Actually the burks column need to have content... That's why in the mapping i'm doing a match with a tempory work table and the column burks. And in the temporary work table there is data !
    I'm suppose that ODI create a c$ table to transfert data from my tempory table T to the xml branch E1FIKPFPK but apparently it cant' recover the data from the c$ table.
    that's why I'm getting the error "null into a non-nullable column"
    Edited by: 844878 on 16 mars 2011 14:04
    Edited by: 844878 on 16 mars 2011 14:04

  • Ken Burns effect won't work with imovie 6.0.3

    I'm hopeful to find a way to use the Ken Burns effect in my 6.0.3 HD imovie. Does anyone have a solution to this problem? I can't get it to work.

    Did you empty iMovie's trash after creating your clips? Did you previously apply the Ken Burns effect to that particular clip and now want to change the settings?
    If you already had the clip/photo imported using the Ken Burns effect, and then emptied the trash, you cannot redo the KB settings. It is a bug in iMovie. You will get the black frame when you try. The only thing you can do is reimport the photo.
    Here is an explanation of the problem (Thanks to Matti Haveri) :http://www.sjoki.uta.fi/~shmhav/iMovieHD_6_bugs.html#stillupdate

  • Problem in refreshing Frame

    Hi,
    i'm using internal frames for a program.And to this Internal Frame i add a panel with some buttons.
    From the menu i choose the number of buttons-(for that i have a dialog box).
    My problem is :
    1. after i dispose the dialog box the internal frame is empty and only when i click on it the new number of buttons show up.
    2.Now when i attempt to change the number of buttons for the second time - even after i click the empty frame nothing shows up !
    in my code :
    Clicking the OK button in the dialog box for selecting the number of buttons -
    action performed has :
    levels.dispose() ;
    MainGameFrame.updateGUI();
    and updateGUI code is :
    public static void updateGUI()
              innerFrame.remove(gameboard);
              gameboard = GamePanel.getGamePanel();
              innerFrame.add(gameboard);
              innerFrame.repaint();
              innerFrame .setVisible(true);
    where am i wrong ? pls let me know !
    its very confusing !

    You need to find out about invalidate and validate.
    All components know when they have been painted. So
    o a repaint tells a component "paint yourself" which
    results in an "already done matey". If you
    invalidate a component you effectively shout "you
    look like you've been dragged through a hedge." This
    should result in a proper repainting. It is not easy
    because there are trees of components and I think you
    have to hit the appropriate leafs. If you can't do
    it then I will read about the topic and try to give
    some better guidance.Hi Thanks for the effort...
    I got it working now....instead of removing the components of the internal frame i removed the internal frame itself and then added it again with the changes!

Maybe you are looking for

  • HP Printer Remote

    I installled the new HP Printer Remote on my HP 5510 printer. Nothing prints, and the error says that the printer is no longer installed. It also says that I need the app to print. Does anyone have a work-around

  • What's wrong with Generators..

    He, I downloaded this Light Leak video, and using Motion to create a generator with this video so I can add them quickly to FCPX projects. The problem is that this video contains several light leaks and I can't cut genrator's in half with FCPX. It ca

  • (Solved) corebird won't start

    okay so i kind of did something i regret... i made the mistake of deleting my corebird .config files. so i thought it wouldn't be a big deal as i could always just yaourt -Rns corebird-git and then reinstall it. well it turns out it did put back the

  • 'No Entry' sign on MacBook Pro startup.

    I realise this question has been asked on here many times before, but all of the solutions haven't worked and I think the problem might be that my hard drive is knackered... Ran hardware test and it's not showing anything wrong with system. Cannot re

  • New web designer - too much space over CSS-styled text in Firefox

    Hi all: This is my first post to the forum. I've been a Dreamweaver 8 user for a few weeks and think it's cool, though I have run into some problems. Here's my latest: I've defined a style for my headers in my main external CSS with the follow code: