From: Hiroo H. <hir...@co...> - 2005-03-04 05:44:46
|
Hi, Rib> I did a little testing today. It seems that MDI is the default. I Rib> think maybe GUI_MDI and GUI_SDI are switched in AppConfig.getGuiStyle. This is my mistake. I tend to use the word MDI for multiple window interface... And you made a fix for MacUtils.isMac(). I don't think it's good idea to check the value of property "apple.laf.useScreenMenuBar" in isMac() method. isMac() should just check if MacOS or not. And I think the condition System.getProperty("java.vm.version").startsWith("1.4") also should be removed. This does not work for JDK 1.5 or greater. And 1.4 or greater is requirement for any OS now. How do you think? Rib> Also, I wonder if it would be more user friendly to automatically open Rib> a default library at startup when in SDI mode, and maybe even for MDI Rib> too. On a Mac, ~/Documents/JSynthLib.patchlib would probably be a Rib> good location for this. I don't know about on other OSs. Perhaps the Rib> location should be an option in AppConfig. You can specify a library file as a command line argument. I always invoke a default library by using the argument. And if we define default file, we can use "Patch Library Path" which user specifies. But adding a user preference "default library" may be better idea. -- Hiroo Hayashi |