From: Erik V. <eri...@xs...> - 2009-12-30 20:08:33
|
6. The program allows CGR to buy 4-trains after it forms. It can't. If that is so, it's a bug. I don't yet have test cases where CGR has less than three trains after formation - can you send me one? I have added code to prevent CGR from buying 4-trains. But I don't have a working test case yet, so I can't confirm that it works. (I'll also mention that it was rather disconcerting to have the map hide itself during the CGR formation dialog. While players should have already made the save/toss decision for each company beforehand, some might want to consult the map to see a company's potential.) The map now remains visible, but it still cannot be raised because the dialogs are modal. I'll see if it's doable to create nonmodal dialogs (unfortunately this is not a matter of just switching a toggle; it requires custom dialogs to be written). I have tried to make the token exchange popup (which is already a custom JDialog) nonmodal, but I can't get it working, despite trying to follow some examples found via Google. If anyone can show me a non-modal JDialog subclass that works, I'd be grateful. The map now is set on top of other windows during the token exchange dialog, so the it can be viewed, but not scrolled. Erik. |