-
In Firefox 3 (and via a glance at the code, probably Firefox 2), when the Editor (Simple or otherwise) is rendered and then moved in the Dom via 'foo.appendChild(divContainingEditor)' the editor correctly moves but the previous contents are gone and it is impossible to set focus on the panel, thus preventing using the editor.
After trial and error, we determined that it's possible to regain...
2008-08-29 23:31:03 UTC in YUI Library
-
Logged In: YES
user_id=555442
That code is unreachable (which helps explain why it doesn't
work) and it'd disallow multi-selects if it did work.
I've implemented a hacked up version of control-key
multiselect via a KeyListener. It works surprisingly well,
though there's a weird flash when you go from
multi-selecting to single-select. The fix is in CVS. I
hate AWT.
2005-02-25 06:21:33 UTC in MegaMek
-
stainedglass committed patchset 2133 of module megamek to the MegaMek CVS repository, changing 1 files.
2005-02-25 06:09:45 UTC in MegaMek
-
stainedglass committed revision 2161 to the MegaMek SVN repository, changing 1 files.
2005-02-25 06:09:45 UTC in MegaMek
-
Oh, I forgot serialization.
Please do. We're not getting the benefits of the native serialization (other than not having to go through the work of writing a format writer and parser) and we're getting the drawbacks (incompatible classes, inability to parse it in a non-Java environment).
2005-01-20 22:28:22 UTC in MegaMek
-
We fear change!
I have no authority, but some thoughts:
Compliance: There's a bunch of fallout from MegaMek's commitment to pre-Java2, including the collections import, dependence on AWT, etc. Cutting over would be grand.
Synchronization: Be very careful. Both the Megamek client and server are pervasively multithreaded and collections get handed back and forth between threads...
2005-01-20 22:26:19 UTC in MegaMek
-
These are usually because your classes root for the project isn't set as the correct directory. For example, if your classes root is a level too high, it'll think the right packages for your classes are:
classes.megamek.x, which won't match the declared package. You can tell because the list of packages in the Package Explorer pane won't look correct.
2004-12-22 21:31:50 UTC in MegaMek
-
Not sure exactly what you need, but either Math.floor() or Math.round(x - 1) should work for you.
2004-12-22 21:28:33 UTC in MegaMek
-
This should probably be part of the effort (easy to say, since I probably won't be doing it) to convert to a fully fleshed out event log. So instead of logging events directly via Strings to the turn log, you append event objects, and the turn log is built from that. You could then step back through the event list to get to any past even you wanted, could calculate % damage done, and so on.
2004-12-01 23:35:29 UTC in MegaMek
-
Unfortunately, the one who coded it in the first place can't remember why.
I think it may have been an assumption that all reinforcing was happening by land (not thinking of combat drops), and that it could be exploited to 'deploy' units in the rear hexes of enemies very munchily.
2004-10-14 23:00:07 UTC in MegaMek