Components aren't displaying under Win2k

We have a Java Applet which opens dialogs containing lists of data from our database, radio buttons, buttons, checkboxes, text labels etc. Since moving to Win2k, the components sometimes don't paint. This is intermittent and, as near as I can tell, random. The list component always displays. The other components still work, even if not seen (if you know where they are, you can click 'em). They can be "displayed" by manually triggering a repaint (move the dialog off-screen and back, minimize-restore, cover with another window and uncover, etc.) Interestingly enough, sometimes these same activities can cause them to disappear again. Even the background color is among the "components" that doesn't display. I've attempted to code .repaint and .setVisible invocations to "force" painting, to no avail.
Any assistance you can provide would be greatly appreciated,
Thanks in Advance
And now, some gory details:
We're using JDK 1.1.8 and Netscape 4.x and Netdynamics (which is no longer supported). Due to previous design considerations, we're locked into Netscape. Due to no more upgrades to Netdynamics, and a glitch in Netscape 6, we can't upgrade Netscape, and are concerned about upgrading JDK.
The original applet was developed with Visual Cafe, contrary to our standards, we don't have Cafe. So fixes are all done in text editor - java compile cycles.
I'm enclosing some code snips. The first is the method that is called to display one of the dialogs.
It loads the list, mlistSR, with our data and then makes the dialog visible. I added a this.repaint(), which didn't help, then I tried buttonSelect.repaint(), also didn't work. (At the component level, I am trying to get one component to work, if I see one and not the others, I'll know my technique works and can then apply it to all). I also tried buttonSelect.setVisible(true).
    public void showSRs(String countyCode, String townCode, RouteApplet routeApplet) {
        Vector a0 = routeApplet.routingDB.readA0(countyCode, townCode);
        Enumeration e = a0.elements();
        int r = 0;
        while (e.hasMoreElements()) {
            RASR sr = (RASR) e.nextElement();
            String id = sr.srId;
            String n = sr.srLocalName;
            mlistSR.addTextCell(r, 0, id);
            mlistSR.addTextCell(r, 1, n);
            r++;
        buttonSelect.repaint(); //this.repaint();
        setVisible(true);
    }This is our "creation" of buttonSelect:
          A basic implementation of the JDialog class.
import java.util.*;
import java.awt.*;
import com.sun.java.swing.*;
import symantec.itools.awt.MultiList;
import com.symantec.itools.swing.borders.SoftBevelBorder;
public class dlgSelectSR extends com.sun.java.swing.JDialog
     public dlgSelectSR(Frame parent)
          super(parent);
          setTitle("Select State Route");
          setResizable(false);
          setModal(true);
          getContentPane().setLayout(null);
          setSize(409,380);
          setVisible(false);
          getContentPane().add(mlistSR);
          mlistSR.setBackground(java.awt.Color.white);
          mlistSR.setBounds(6,6,282,366);
          buttonSelect.setText("Select");
          buttonSelect.setActionCommand("Select");
          buttonSelect.setBorder(softBevelBorder1);
          getContentPane().add(buttonSelect);
          buttonSelect.setBounds(306,270,78,30);
<-snip->
          SymAction lSymAction = new SymAction();
          mlistSR.addActionListener(lSymAction);
          buttonSelect.addActionListener(lSymAction);
          buttonCancel.addActionListener(lSymAction);
<-snip->
     //{{DECLARE_CONTROLS
     symantec.itools.awt.MultiList mlistSR = new symantec.itools.awt.MultiList();
     com.sun.java.swing.JButton buttonSelect = new com.sun.java.swing.JButton();
     com.sun.java.swing.JButton buttonCancel = new com.sun.java.swing.JButton();
     com.symantec.itools.swing.borders.SoftBevelBorder softBevelBorder1 = new com.symantec.itools.swing.borders.SoftBevelBorder();
     java.awt.Label label1 = new java.awt.Label();
     java.awt.Label label2 = new java.awt.Label();
<-snip->

This issue may indeed be caused by video drivers as DrClap asserts. Can it be duplicated on more that one windows 2000 box? If it cannot be duplicated, try "dumbing down" your drivers. In other words use 600x800 resolution with low color settings as a base line from which to diagnose, and find the point at which you have repaint problems.
If this issue can be duplicated, suspect the fact that you are mixing lightweight and heavyweight controls! Cay Horstman covers this topic fairly early on in "Core Java" second edition. The upshot is that the heavyweight controls will supercede the lightweight Swing controls and clause "weird" repaint behavior as the heavyweight control tries to paint on top of the Swing control.
Having worked with NetDynamices, I must congratulate you for progressing as far as you have, it was a tenuous platform in my estimation.
Good Luck in your efforts!

Similar Messages

  • TS1468 why aren't songs displaying under artist only under album

    why aren't songs displaying under artist only under album

    See Grouping tracks into albums in particular the topic Missing Artist or Album not with others by same artist.
    tt2

  • JLabel components not being displayed on the content Panel in Applet

    Hi everyone!!
    Plz give a solution to the following problem:
    I have an applet in which i have JPanel component and on that component i am adding a lot of JLabel components but the problem is that the JLabel components are not displayed on the applet unless i minimize or maximize the applet.
    kindly give solution to the problem.
    Thanks

    Howdy,
    code would be helpful. Here is a very simple JApplet that displays labels okay here in appletviewer. You talk of applets and JLabels. I assume you are using JApplets.
    import javax.swing.*;
    import java.applet.*;
    import java.awt.*;
    public class AppletPie extends JApplet {
         public void init() {
              Container cp = getContentPane();
              cp.setLayout(new FlowLayout());
              cp.add(new JLabel("Show"));
              cp.add(new JLabel("up"));
              cp.add(new JLabel("you"));
              cp.add(new JLabel("dumb"));
              cp.add(new JLabel("labels"));
    }Perhaps something in this code will help you to solve your problem.
    regards
    sjl

  • Links in email aren't working and ads aren't displaying in email either

    Links in email aren't working and ads aren't displaying in email either.  What settings should be changed to correct this.?

    Go to settings>general> restrictions and see if anything has been turned on.

  • ICloud Status option doesn't display under View Options

    I've searched many threads and haven't found the answer to my question.
    The iCloud Status option does not display under my View Options (See pic). Any suggestions? Much appreciated.Thank you!!
    I have verified I am an iTunes Match subscriber.
    I have made sure iTunes Match is "on."
    I have signed out, then signed in again to my account.

    Yo I'm back. The one thing I didn't do was relaunch iTunes. After I did, it showed up. WaHOO.
    Thanks everyone.

  • Possible reasons for a repository manager not displayed under KM Content

    Hi,
    I developed a repository manager and deployed the par file Archive uploader.
    Most time after deployment, I can see immediately an instance of the repository manager under KM Content. However, sometimes, when I made some changes to the code, it doesn't appear under KM Content. The deployment log in SYS/global/config/cm/reports shows no error.
    I tried to find some log in System Administration - Monitor, but found nothing.
    So, could anyone tell me:
    1. What might be the reason for the problem that the repository manager cannot display under KM Content after deploying the par?
    2. Where can I find the log explaining why my repository manager cannot display?
    Thanks,
    Ray

    Hi Ray,
    Deploying a repository manager means a hot KM deployment, which isn't supported at all, see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb1f18be-0801-0010-ffa0-e3495f7401bc and SAP note 894884. After such a deployment, the KM is restarted, but you have some kind of "shadow KM" in memory, which leads for most things to an unpredictable behaviour.
    In contrast to the documents reffered to above, also the standard KM delivery from SAP still behaves in an uncontrolled way for many issues.
    That's why after a KM hot deployment, you should restart your server if you realize anything "unusual". A workaround is to debug your code and using the hot code replacement feature (which only works in some situations, but that's better than nothing...).
    Hope it helps
    Detlev

  • Error installation j2sdk-1_3_1_01-win.exe under win2k

    I have error when run j2sdk-1_3_1_01-win.exe under win2k:
    'the program is too large for memory'
    thank for your Halp

    the memory is ok but the different from previous version (1.2) is that program run in dos mode.

  • With the latest upgrade to iPhoto, Keywords no longer display under the photo, even when Display Keywords is turned on. Does anyone know why?

    With the latest upgrade to iPhoto, Keywords no longer display under the photo, even when Display Keywords is turned on. Does anyone know why?

    Keywords have been moved into the Info tray at the right.  Don't know why it was changed.  You can send a request to change it back to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • Photos aren't displaying images?

    Last year I went on holiday and at the time I took lots of photos, around 500 in total. However some of the photos aren't displaying the image of the photo, just black or white squares. When I took the pictures they registered as pictures and you could see the photo without any problem. Soon after I returned home, when I tried to upload them to my laptop, I noticed some weren't displaying anything anymore. The photo thumbnail is just a black or white square, and when I tap on it pulls up the 'photo' but there is no image. I'm uploading them to Facebook and I thought it was just an issue with the file format (even though they were taken on the iPhone) and maybe they would display once uploaded, but they haven't. If I remember correctly, when I checked the file size on my laptop they read 0KB. What happened to my photos? Can I get them back?
    This is what it looks like. They used to be photos but now they're blank thumbnails. The exact same happens but in black on some photos.

    Did you make a backup after taking the photos to iCloud or iTunes?  If so, restore them.
    Did you have Photostream enabled?  If so, check your Photostream album for copies of the photos, or use the iCloud function on a Mac or the iCloud Control Panel for Windows to get your photos from Photostream to your computer.

  • Phone numbers aren't displaying correctly

    Hello everyone,
    we've got the problem that contact names from internal colleagues aren't displaying when they are calling from external (via mobile phone) - only the telephone number is shown. After you accept the call, then the name will be resolved and you see who is
    calling. 
    But this is not happening all the time, sometimes the name of the colleague is shown before you accept the call.
    Further information:
    + Mobile phone information are stored in AD (format E.164 -> example +49 (999) 99999
    + Lync Server 2010, OS Windows Server 2008 R2
    + Clients - Lync 2010 x64/ Lync 2013 x64
    Does anyone have an idea why this is happening or what the problem is?
    Thanks in advance!
    Best regards,
    Hermann

    Hi,
    1. Please check the address book sync status by running the following cmdlet:
    Get-CsAddressBookConfiguration, make sure the sync of address book update to the latest status.
    2. Please delete user profile with the following path to test the issue:
    <user profile>\AppData\Local\Microsoft\Communicator\
    3. Please update Lync client to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Keywords displaying under a picture in iPhoto 11?

    How can I make keywords display under pictures in iPhoto 11?  Worked in iPhoto 9, but no longer easy to find a why to display keywords under the picture.
    Any help would be appreciated.
    Thanks

    It's not possible in iPhoto 11
    iPhoto Menu -> Provide iPhoto Feedback

  • Focus under Win2k does not work correctly

    Hi,
    we've found out that the focus does not work correctly under Windows 2000 in
    Seamless Mode (App is a Windows Application running on Windows Terminal Server
    2003), the same application has no problems under Windows XP, Apple Macintosh
    and Linux.
    Example: The application has a button which pop's up a small calendar window
    giving that window focus. In Tarantella under Win2k however you just see the
    window popping up shortly and then going in the background. As the window is in
    the background and you can't get the window back and you also cannot work
    further in that application as the rest is inactive.
    Only way is to do a right-click on the application in the taskbar, which brings
    the window in the foreground again. What makes this problem even harder to
    analyze is, that it sometimes even works correctly (around 3 of 10 times).
    We've mostly recognized this with modal windows. The native client does not have
    this problem, however as far as I know it does not support seamless mode.
    2. The second problem we got is, that if you click with the mouse into the
    initializing Window while the application starts up after you have clicked on an
    application Link in SGD (I mean the Pre-Login window of Windows which shortly
    shows up just before the Login Process begins),
    the application is not started seamlessly but is started within that window and
    you have no chance but closing an restarting the application to get it in
    seamless mode. This is seen on all Client Operating Systems by us and not only
    Windows 2000.
    The Client runs:
    Windows 2000 SP4 all updates installed
    Java: 1.5.0-5
    Browser: IE6.0 and Firefox 1.0.7
    Server: Windows 2003 Terminal Server (all updates installed)
    Tarantella: 4.20.909
    I hope that someone has at least a workaround.
    Regards
    Carsten

    I have organized some testcases attached are 3 Test Programs which work
    nice natively but got these problems under Tarantella under every Windows
    Operating System (the error is not Windows 2000 as I previously mentioned but
    also occurs on Windows XP).
    The interesting thing is that the Test Program made with .NET does not show this
    problem.
    Could someone please test these and tell if this error is reproducible on your
    systems as well ?
    Run these Testprograms natively, they show no misbehavior.
    Execute this from a SGD Webtop Session in Seamless Mode, see that
    the Modal window is not modal but shifts into the background on every 2 -3 click.
    Regards
    Carsten
    [ModalTestPrgs.zip]

  • Call objects aren't displayed consistant

    hello,
    in our client system, calls aren't  displayed consistantly for the same plan via IP02 and IP10, any clue about why such issue happens.
    thanks in advance.

    hello,
    that could be possible, IP10 shows the CURRENT scheduling situation and IP02 shows the last execution of IP10. when you execute transaction IP10 system is recalculate dates, and updating entries in tables MHIS/MHIO. IP02 or IP24 reads from these tables. These tables contain the last execution of IP10.
    You can also check if such plan is rescheduled or not after any TL or package changed.
    regards,
    Jane

  • Original iphone displays under devices but when you click on it nothing happens, no summary tab,etc

    My original iphone displays under devices in ITUNES but when you click on it nothing happens

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbLPY/3.12.2.16749
    See:
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Crystal Reports with images aren't displayed in the InfoView

    Hi everybody,
    I have a problem with my Crystal reports and its display in the info view. If the reports include images from the repository, the reports aren't displayed when hit in the BO-InfoView.
    This errors does not occur if there are just images in the report. Only the combination of images, embedded XCelsius-SWFs and data from the defined data sources causes the problem.
    Instead of the correct report, I get a white blank screen.
    Versions:
    Business Objects XI 3.0
    Crystal Reports 12.0
    Internet Explorer 6.0.29
    Thanks for helping
    Sebastian

    Hi everybody,
    I installed version 3.1.
    Problem is now solved.

Maybe you are looking for

  • Clarify these words:posting period varients & open & close posting period

    Hi Sap Gurus, Someone kindly make me clarify following words.Thank you. 1.Posting period varient. 2.Open & close posting periods 3.Assign posting period varients to company code-What does it do after assignment? Best Regards, priya desai Financial An

  • How to Install AS 10g version 10.1.2.3 on Windows server 2008 64bit

    Dear Exparts, Hope you are fine. Application Server: Standalone 10.1.2.3 OS: Windows Server 2008 64bit Hardware: Intel Xeion ProcessorI know Oracle Application Server 10g & Standalone my version is 10.1.2.3 is not competible with Windows Server 2008

  • Could you check our source? (To determine the PR type and number range)

    Hello. We use SRM Server5.5 with Classic Scenario. We will use the BADI BBP_SC_TRANSFER_BE to determine the PR type and number range according to your recommend. We have two PR type in R/3. 1) KGPR 2) KTR1 As you know that shopping cart has no type.

  • Problem with Vocals PLEASE READ

    okay so im using logic with my g5 all the mics are going straight into a presonus firepod, i recently just bought the antares avox vocal bundle the effects are great but im now looking through what othe audio units logic it self has because i cannot

  • Ways to present when there is no data

    Dear Gurus, I had posted 2 earlier messages relating to this one. But now, this one is slightly different. I can display row values even when no data is available by new selection. The page should be always, for example, 10 rows long regardless of da