Jump to content
  • Advertisement
  • entries
  • comments
  • views

The bug is dead

Sign in to follow this  


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. . .


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  


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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!