Java 1.4.2_03 display bug -- anyone else seen this?

Hi All,
I've noticed that my application, which worked fine under 1.3.1 and 1.4.1 no longer works under the latest and greatest (?) J2SE, 1.4.2.
In short, the application consists of a bunch of JApplets stored as cards in a CardLayout, which is then placed in a JFrame. When the user selects a particular JApplet, the card containing the JApplet is displayed in the JFrame.
Under 1.4.2, the application window shows up, and I'm able to access all the JMenu entities, but the JFrame remains blank!
Has anyone else happened to run into this behavior?
Thanks,
- Fromage

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.text.SimpleDateFormat;
public class Test extends JFrame implements ActionListener {
  CardLayout cl = new CardLayout();
  JPanel cardPanel = new JPanel(cl);
  public Test() {
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container content = getContentPane();
    JPanel buttonPanel = new JPanel();
    content.add(cardPanel, BorderLayout.CENTER);
    content.add(buttonPanel, BorderLayout.SOUTH);
    for (int i=1; i<10; i++) {
      JApplet applet = new TestApplet2("Applet-" + i);
      String name = "A-"+i;
      cardPanel.add(name,applet);
      applet.init();
      applet.start();
      JButton jb = new JButton(name);
      jb.setBorder(BorderFactory.createRaisedBevelBorder());
      buttonPanel.add(jb);
      jb.addActionListener(this);
    content.add(new JLabel("NORTH", JLabel.CENTER), BorderLayout.NORTH);
    setSize(400, 400);
    setVisible(true);
  public void actionPerformed(ActionEvent ae) {
    cl.show(cardPanel, ((JButton)ae.getSource()).getText());
  public static void main(String[] args) { new Test(); }
class TestApplet2 extends JApplet implements ActionListener {
  JLabel time = new JLabel("No Time"), nameLabel;
  SimpleDateFormat sdf = new SimpleDateFormat("hh:MM:ss a");
  public TestApplet2(String name) { nameLabel = new JLabel(name); }
  public void init() {
    getContentPane().setLayout(new FlowLayout());
    JLabel version = new JLabel(System.getProperty("java.version"));
    version.setBorder(BorderFactory.createTitledBorder("Version:"));
    getContentPane().add(version);
    time.setBorder(BorderFactory.createTitledBorder("Time:"));
    getContentPane().add(time);
    getContentPane().add(nameLabel);
    Timer t = new Timer(1000, this);
    t.setRepeats(true);
    t.start();
  public void actionPerformed(ActionEvent ae) {
    time.setText(sdf.format(new java.util.Date()));
}

Similar Messages

  • I upgraded from Dreamweaver CS4 to CS6. but now "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?

    I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
    Mac OS 10.8.5
    None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
    I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.

    Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works!   Although I know there maybe also some other dialog box I have never seen
    Of course I saw that menu item "Import"  and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same:  "Why would I want to export my entire website?".
    An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are  obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings"

  • After updating to IOs 5.0, my contacts updated in name only, not the information.  Has anyone else seen this?

    After updating to iOS 5.0 on my iPad2, my contacts updated in name only, the information (addresses, phones, etc.) is blank.  Has anyone else seen this?  The cloud has all the contact information intact. 

    No, no replies yet.  Fortunately, I have all my contacts backed-up on Google.  I haven't lost the data, just need to merge into my iPad contacts.  Good luck with your call to Apple.

  • Changed group membership in WGM 10.6.3 from the 10.6 server. The change takes overnight to work. Formerly ran WGM from my 10.6.8 mac (worked perfectly)  but now I am at 10.7.5 and must use WGM on the server. Has anyone else seen this behavior?

    Changed group membership in WGM 10.6.3 from the 10.6 server. The change takes overnight to work. Formerly ran WGM from my 10.6.8 mac (worked perfectly)  but now I am at 10.7.5 and must use WGM on the server. Has anyone else seen this behavior?

    Hi
    "Changed group membership in WGM 10.6.3 from the 10.6 server. The change takes overnight to work"
    If I've understood you correctly I've never known this or anything else to take that long? What were you trying to do exactly?
    "Formerly ran WGM from my 10.6.8 mac (worked perfectly)  but now I am at 10.7.5 and must use WGM on the server. Has anyone else seen this behaviour?"
    http://support.apple.com/kb/HT1822
    HTH?
    Tony

  • Captivate 8:  Getting this message "Unable to locate LMS's API, content may not play properly".  Then I get a debug message of "44:Tue Feb 17 2015 : InIsLoaded, returning false".  Has anyone else seen this?

    Captivate 8:  Getting this message "Unable to locate LMS's API, content may not play properly".  Then I get a debug message of "44:Tue Feb 17 2015 : InIsLoaded, returning false".  I also see a message in the preview pane when I view the .htm file in the project folder "This course requires JavaScript to be enabled in your browser.  Please enable JavaScript, then relaunch the course."   JavaScript is already enabled and I'm getting this in IE9 and Chrome 40....Has anyone else seen this? 

    The first part of your issue will be resolved if you load your course from an LMS. If you are not hosting your content on LMS, you can disable the reporting in your Quiz settings (Edit > Preferences > Quiz > Reporting).
    Not sure about the Javascript related issues.
    Sreekanth

  • The verification lists my card data and address etc. correctly but I need to keep entering the card security number.  Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?  Seems to be something to do

    The verification lists my card data and address etc. correctly but I need to keep entering the card security number.
    Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?
    Seems to be something to do with a new security check they have put in the system that does not work correctly and support is totally incapable of helping me out.
    wth am i gonna do im feed up and on top i have no one to help me been calling itunes for days now im ****** off to the maxxx

    I've been jumping through the hoops with Apple Support on this issue....first time I called they said I should try updating from IOS 4.0 to 4.1....tried that and the issue still persisted...then I called back to update the ticket and get the next steps...they said that the Bank is rejecting the request for verification and that is why it keeps prompting (which doesn't make sense since the confirmation seems to go through successfully). The rep also contacted the iTunes dept and had them run the verify manually and said the bank rejected it. The next hoop they want me to jump through is calling the bank to verify that the account is in good standing and inquire about the rejected requests. I'm fairly certain the bank account is in good standing....will verify of course....but I find it hard to believe that all the people who have posted here, plus countless others that are experiencing the same issue but haven't, are ALL having banking issues in the last 24hrs...I'm more convinced there is a disconnect on the back end between iTunes and Financial institutions...
    I'm not sure I buy in to everything I was told...he also told me he has had several calls on this issue and they were all told to check with their banks. He could not verify that any of his past calls were resolved. Needless to say I'm not 100% believing everything he told me....weak response from Apple support on this issue so far.

  • SL permissions repair error... anyone else seen this?

    After a clean install of SL on a new HD and installing CS4 design premium I get this error when repairing permissions. Anyone else seen this... something serious or not?
    "Warning SUID File "System/Library/Core5ervices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not been repaired"

    hassiman
    It is not a problem. I got the same message after installing Remote Client.
    Here is a recent Apple support link.
    http://support.apple.com/kb/TS1448 (servers may be busy under Support)
    Disk Utility's Repair Permissions messages that you can safely ignore
    Hope this helps.
    -Larc

  • 10.2.2 ipad synch locks up the keyboard. Anyone else seen this???

    Upgraded to Itunes 10.2.2 last night. Synched Ipad this morning, during the backup (synching), the keyboard locks up like it has a stuck key (last letter typed for example). Anyone else seen this???

    Hope this help:
    http://support.apple.com/kb/TS3280

  • Since installing the latest update of Photoshop CC two days ago, Auto Blend for focus stacking is selecting all pixels from the bottom layer instead of selecting the ones in best focus from each layer. Has anyone else seen this problem?

    I installed the latest update of Photoshop CC two days ago on my Macbook Pro, and now when I try to do focus stacking by opening multiple photos and doing Auto Align and Auto Blend, the blend selects the entire bottom layer instead of selecting the in-focus areas from each layer. I even tried again on a series of images where this worked a week ago and the problem occurs. I have Photoshop on a Windows 8 machine and did not apply this latest update and it works fine. Has anyone else encountered this?

    And since installing this same update, my Photoshop is crashing just after starting.
    Ashutosh.Nigam suggested me in this forum to change the permissions to SLStore & SLCache Folder, but it did not work.
    Ali from french Adobe support told me to delete my Settings files, but it was not enough.
    A girl with no name from the same team told me to update my video card driver, but you know I run the latest Mac OS X version and everything is updated, mademoiselle.
    Stephane sent me a link to a huge page of things to do :
    -  Troubleshoot account-specific fonts, but there wasn't any corrupted font
    - Delete account-specific Adobe cache files but... guess what...
    - Troubleshoot account-specific login items but... yes, that's it, I can see you understand me
    - Reset the access settings on the user account's Library folder... oh god, that was fun, I used the Terminal and sudo commands
    I did all of these things because when I tried to open PhCC in an other admin session, it worked, so that was an incompatibility between my session and PhCC. But, but, but, when I tried again to lauch the app in the second session, it worked fine but refused to quit. Ha ha ha.
    So you can try to delete your Settings files. I wish it'll work for you. If not you can try the long list above... or hope a better answer from the support.
    I didn't change anything but Photoshop on my session and they ensure that the bug is due to my session and not to their update. Strange affair.
    Good luck,
    JLuc

  • Has anyone else seen this behavior with MobileMe since iOS4?

    First some explanation. I have two different push mail accounts on my iPhone. A MobileMe account and an Exchange account. They are both receiving push mail, calendar entries, and contacts.
    Now, on the Exchange account, when I receive a message, the new message badge shows up on the iPhone. This is good, and the expected behavior. If I then go and read and / or delete that message in say Outlook or through Outlook Web Access, the message status also updates on the iPhone nearly instantaneously, again this is the expected and desired behavior. Any changes made in mail are also pushed to the iPhone in the background and in very short order.
    Now, the MobileMe account is NOT doing this. Sure, when I get a new message, that message is placed on the iPhone and the badge is updated. However, if I then read and / or delete that message while using say the MobileMe Web App or the mail application on my Mac, that change is never reflected on the iPhone. So the badge never changes and the messages are not changed or removed from the device. This is NOT the desired behavior, and not what I remember pre iOS 4. It is not until I open the mail app on the iPhone that the inbox finally updates to reflect the changes made in the inbox or other folders.
    So, has anyone else noticed this? Can someone else test this to see if they too are having this issue. I tried to report it to MobileMe support, but only got the standard script. The tech tried to help, but was not able to tell me what was going on or could not understand what I was trying to tell him. I suspect this is an issue on either the sync servers for MobileMe or the mail servers for MobileMe or both.
    Message was edited by: Richard Wessels

    You might get a better response if you ask in the dedicated *MobileMe on iPhone and iPod Touch > MobileMe Mail* forum, as that is where people who are using MobileMe are most likely to see posts relating to it.
    http://discussions.apple.com/forum.jspa?forumID=1198

  • Has anyone else seen this strange (I think) problem?

    I'm running XP pro SP2 w/all updates. I installed 1.4.1 after first uninstalling 1.3. Everything seemed to work fine. The next day when I turned my computer on I received an error message that no DVD drives were found. I have two and neither showed up in windows explorer and both had exclamation marks in device manager. Preliminary troubleshooting revealed that both drives had power and there were no POST problems. I rebooted and entered the BIOS setup and noticed that both had been properly detected by the BIOS - windows appeared to be the only thing that couldn't find them.
    Rather than continue troubleshooting I decided to restore from an image backup to a condition where the drives were working OK since it seemed to be a windows issue. When I booted the computer the drives were again visible. I then installed 1.4.1 again and everything worked fine. The next day the error message came back after I turned the computer on. This time I uninstalled 1.4.1 without turning off the computer and the error message went away and the drives were once again visible.
    This seemed to me to pretty much point to 1.4.1 as the culprit but I have no idea why...I've never even seen this kind of error before and I've seen a *lot* of errors.
    Anyone else experience this kind of glitch or have any guesses regarding how 1.4.1 could cause my drives to go south?
    thanks for any feedback.

    You might get a better response if you ask in the dedicated *MobileMe on iPhone and iPod Touch > MobileMe Mail* forum, as that is where people who are using MobileMe are most likely to see posts relating to it.
    http://discussions.apple.com/forum.jspa?forumID=1198

  • Odd SNMP trap - anyone else seen this?

    Hi, all!
    Just got and implemented a couple of C300s and they're making my life a lot easier than my old Marshal servers, but I'm seeing an odd alert in my SNMP traps that doesn't appear to be getting translated by the MIB, and since my traps generate emails to me unless it's a critical, it's leading to something like 125 emails a night.
    Just wondering if anyone had seen this trap before and could tell me A) What the hell it is (I -think- it might be related to definition updates or quarantined messages, but I can't find anything to prove that) and B) If it's not in the MIB, if anyone else wrote a custom MIB entry to cover it so I can get some better reporting.
    NodeName=(appliance)
    Application=SNMPTraps
    Severity=16
    Tally=1
    MessageText=Virus Outbreak Filters
    NodePlatform=other
    NodeOperatingSystem=other
    MessageNumber=22562b36-5453-71dc-1ce3-0a69c6460000
    MessageGroup=ACM
    Object=(UNAVAILABLE EVENT PARAMETER $2)
    Source=Ironport
    TimeCreated=8/27/2007 00:08:15
    TimeReceived=8/27/2007 00:08:15
    TimeLastReceived=8/27/2007 11:28:19
    Thanks!

    The message above should be comming from the traps that we translate into messages
    SNMPTraps-IronPort Update failure for (Sophos Antivirus)
    SNMPTraps-IronPort Update failure for (Virus Outbreak Filters)
    SNMPTraps-IronPort Update failure for (IronPort Anti-Spam)
    Where original traps are these below, and meaning should be that attempted update from ironport.com failed.
    Generic: 6; Specific: 6; Enterprise: .1.3.6.1.4.1.15497.1.1.2.0.6;
    Variables:
    [1] private.enterprises.IronPort.AsyncOSAppliances.AsyncOSMail.AsyncOSMailObjects.updateTable.updateEntry.updateServiceName (OctetString): Sophos Antivirus
    Generic: 6; Specific: 6; Enterprise: .1.3.6.1.4.1.15497.1.1.2.0.6;
    Variables:
    [1] private.enterprises.ironPort.asyncOSAppliances.asyncOSMail.asyncOSMailObjects.updateTable.updateEntry.updateServiceName (OctetString): Virus Outbreak Filters
    Generic: 6; Specific: 6; Enterprise: .1.3.6.1.4.1.15497.1.1.2.0.6;
    Variables:
    [1] private.enterprises.IronPort.AsyncOSAppliances.AsyncOSMail.AsyncOSMailObjects.updateTable.updateEntry.updateServiceName (OctetString): IronPort Anti-Spam

  • Anyone else seen this while loading a plugin: "Error #2044: Unhandled IOErrorEvent:"

    Hello All,
    I'm curious if anyone else has seen this error while loading an OSMF plugin dynamically:
    "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type."
    You will only see this with the debug version of the Flash Player. The plugin loads fine, but the RTE appears. I've submitted a bug for this (http://bugs.adobe.com/jira/browse/FM-1104) but apparently no one at Adobe can reproduce it while everyone on our team can easily reproduce it at will. Some use Windows, some use Macs.
    I've written a very simple player and a very simple plugin, you can simply refresh your browser to try to reproduce the error. You won't see anything on the page, just hit refresh a few times until you see it. You'll need the debug version of the Flash Player to see the RTE. One guy on our team (uses Windows) claims he sees it after he clears his browser cache. I can make it happen on Safari for Mac by simply hitting Cmd-R a few times.
    http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    I also see this on cnn.com. I've attached a screen shot.
    Go to cnn.com and watch any video. I get the RTE every time on the first try. We are seeing this repeatedly on OSMF built players that load OSMF plugins dynamically.
    Reply if you see the error. This will greatly help in determining that I've not completely lost my mind
    In the mean time, I'll be working locally on a work around and hopefully submit that to the OSMF trunk.
    Thanks,
    - charles

    Hi Charles,
    Re:  CNN.com > Yes I am seeing the error (with each video twice in fact, 1st on start of preroll, 2nd on start of main video)
    Re:  http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    This link is not loading.
    Both cases using both:
    Windows XP > IE 6.0.2900 > Flash Player 10,1,85,3 installed
    Windows XP > Firefox 2.0.0.18 > Flash Player 10,1,85,3 installed
    hth,
    g

  • Has anyone else seen this dialog box graphical phenomenon?

    Hi,
    I'm running 10.5.4 on a MacBook Pro (4,1) and have noticed a strange effect on some dialog boxes in Leopard - darker grey blocks appear around text, controls and buttons within the dialog box. The effect occurs on both the MacBook Pro display and the Cinema Display it is connected to.
    See the following links for examples:
    http://www.flickr.com/photos/jammylammy/2732289268
    http://www.flickr.com/photos/jammylammy/2735071703
    http://www.flickr.com/photos/jammylammy/2738394376
    So far it appears in dialog boxes from Entourage, Photoshop & Illustrator (both CS2 & CS3) and iTunes. I initially thought it was only occuring in PowerPC apps running under Rosetta but iTunes is a native Intel app.
    Not all dialog boxes are affected - it doesn't appear in Safari, for example:
    http://www.flickr.com/photos/jammylammy/2735078907
    The boxes are still perfectly usable and it doesn't appear to be a monitor brightness issue as it occurs whatever the brightness setting. I wondered if it was related to the Nvidia graphics card issue (the Macbook Pro is fitted with a GeForce 8600M GT 512MB graphics card) but haven't been able to find any mention of this on these forums or through a wider Google search.
    Has anyone else come across this strange phenomenon?
    Thanks!
    John

    clintbradford wrote:
    ...strange phenomenon...
    Isn't this just a situation where some apps' code is written differently than others?
    It may well be yes. After more searching I found a similar thread here:
    http://discussions.apple.com/thread.jspa?messageID=7638343&#7638343
    It may well be something as simple as Apple changing the default background colour for dialog boxes slightly. What puzzles me about that explanation is that the 'effect' occurs in iTunes 7.7 which was released just weeks ago - whereas Leopard's been out in the wild since last October.

  • Has anyone else seen this?

    I'm just setting up a new Mac Pro to use primarily for video editing. I'll be putting Final Cut Studio on it, but last night I just wanted to try the new iMovie and test a firewire camera. I'm not too happy with the quality I'm seeing using a Canon Elura 100. The video seems to have severe interlace problems in both iMovie and and Photo Booth. Any movement results in strong
    scan line fringing on all moving edges. I've never seen results like this on my iMac, so I'm assuming I shouldn't be seeing them here. I'm hoping there's a setting somewhere that needs changing, and it isn't a larger problem of a bad or incompatible video card or other hardware issues.
    I already had to take the cinema display back because of a dead pixel right in the center of the screen. I really don't want to have to seek out a similar fix for this interlacing. Is this a fixable issue anyone else has had, or did I make a major mistake choosing the 8800 GT card? I've heard of other issues with it.

    The article lost credibility on this line here:
    "What makes the Matrox MAX technology so special is that you don’t need  an 8 to 12 core, top-of-the-line system to get the performance benefits  of Mercury.  You can use your quad-core systems with any of Matrox’s MAX  devices and have the ability to accelerate the Mercury Playback Engine."
    First, that's not even close to indicating how the Mercury Playback Engine works or how the Matrox solution would help, nor is it true that you would otherwise need an 8 or 12 core top-of-the-line system in the first place. This is like one of those infomercials that creates a problem for you then attempts to help you solve the problem with their product.
    Or kind of like shark repellant for people who are landlocked.
    My opinion...if you're using a certified GPU and have a decent quad core system (or better) with a decent amount of RAM, you're getting the MPE goodness and won't likely see any ROI from purchasing additional Matrox hardware.

Maybe you are looking for

  • Error while exporting the 3rd party technical system in SLD

    Dear all,     We're currently using PI 7.0. When trying to export the technical system in SLD, after the exporting, the IE jumps to the download page automatically, but there's a exclamation mark with no text info. I've tried to create a new 3rd-part

  • Sap to microsoft project

    hi to all is it so possible in standard SAP that what ever we plan in planning board can be exported to micro project? if so, can u suggest me the steps... if not, any interface software's are required???????? what is open PS, is it available in SAP

  • How to delete all back ups on itunes

    Hi long story cut short i think i need to delete all my back ups off of itunes is there a way i can do this not single files but everything so i can start again?

  • When trying to Update my iTunes Apps, in iTunes, I get a message instead...

    I've been trying to update my iTunes Apps, in iTunes, for over 24 hours, I get a message instead... In other words, there are '155 Updates Available' for applications in my iTunes Library. I click on the "155 Updates Available" button and after a lon

  • Processor dependent math results

    We are having issues getting math results (in this case the matrix multiplication) that differ based on the intel processor used. We have seen differences between the core 2 duo T7700, Xeon X5460 and a pentium 4 Xeon based processor. The OS did not s