From: Erik V. <eri...@hc...> - 2006-01-10 20:49:25
|
> Well, the nice thing about using the ORWindow as the main > container is that the changes are really minimal. Basically, > there's little more than changing MapWindow to be a JPanel > instead of a JFrame, changing the calls from using > contentPane to using the JPanel's add() methods, and adding > the mapWindow to ORWindow's constructor. > > The tricky part is, as you mentioned, this changes how the > map is made visible, and there's some resizing issues. > > I think I'm going to explore these issues a little further > before I commit anything. Please also take into account, that the number of operating companies can be substantial. 18EU starts with 15 minor companies and 1837 with 21 (plus some early major companies after a few SRs), all laying tiles and running trains etc. I can imagine that these all will not fit in one window with a map. Ideal would be a facility to dock frames in a window, or drag them out to create a separate window. But that is for some distant future, I guess.... Erik. |