• Advertisement
  • entries
    1212
  • comments
    1738
  • views
    1143626

The bug is dead

Sign in to follow this  

59 views

The bug is fixed!

Big thanks to Larry Hannay who manifested the bug on his machine, provided me with the exceptions that the applet was throwing, and verified that the fix I made did indeed fix the bug.

Turns out it's a problem in IE's Java class library. When laying out your components with the AWT border layout, it's supposed to assume you're centering a component if you don't provide any constraints. Or. . .



PanelQuestionControls.add(PanelButtons);



should be equivalent to. . .



PanelQuestionControls.add(PanelButtons, BorderLayout.CENTER);



Some class libraries, though, throw an exception rather than assuming that the control should be centered. I assume it's something that was later fixed, as I never saw the problem even though we were running IE 5.0.



Thanks also to the folks who emailed me with your experiences and suggestions as to what could be the problem. I appreciate it.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement