Re: Fooling with Java
On Dec 22, 2007 3:25 PM, Jeffrey Kesselman [EMAIL PROTECTED] wrote: Thanks Guys. I decided to try something a bit lighter weight so i installed JEdit. I discovered that alt-p/alt-n and at elast for JEdit that works to get my editor window up front. Two oddities in mtachbook/java pairing still. Similzr results with other Java apps. I'd say there are some matchbook issues to be resolved before Java could be fully usable on the OLPC. The menu thing is really a show stopper. JK ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Fooling with Java
Bert Freudenberg wrote: On Dec 22, 2007, at 2:04 , Jeffrey Kesselman wrote: Okay, I have a JDK installed and it seems to work. For grins i put netbeans on my USB stick and fired it up. It seems to be working however I get no main display. I do get pop up dialogs though. My suspicion is that Netbeans is asking the X wm for a Window and, sicne from what I cna see the window manager in the OLPC is windowless (one fullscreen root window only) it ends u pwitha null window and all the drawing goes down the bit bucket. Has anyone else played with this? If so does anyone know any magic to get it to use the root window for the app frame? Our window manager is Matchbox, it is not window-less but full- screen, that is, it resizes each top-level window to cover the whole screen. In theory this should work fine with all well-behaved X11 apps, and in practice it seems to work for most. Can't help with Java specifically. I brought up a couple of X apps from the terminal window on my virtual XO. Alt-Tab cycles through the windows, including the Journal. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Fooling with Java
On Dec 22, 2007 5:00 PM, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote: I brought up a couple of X apps from the terminal window on my virtual XO. Alt-Tab cycles through the windows, including the Journal. You can also use Alt-p or Alt-n to cycle through the windows. The related keyboard shortcuts can be found here. http://wiki.laptop.org/go/Keyboard_Shortcuts -- Best regards, Yuan Chao ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Fooling with Java
Thanks Guys. I decided to try something a bit lighter weight so i installed JEdit. I discovered that alt-p/alt-n and at elast for JEdit that works to get my editor window up front. Two oddities in mtachbook/java pairing still. (1) Although the system window is full screen its not resizing the Java pane to full screen but to more like 1/3 of the screen. I'm wondering if matchbook is somehow lying to Java about the native window size. I suspect I could hack that for a OLPC build since the screen size is a constant. (2) More importantly, pull down Java?Swing menus don't work right. When I cli k on the menu it appears but as soon as I release the button it disappears. The proper behavior, and what I see with this same jar file on other systems, is that the menu stays so you can select an entry. Second part of this is even if I try to do hold button and drag to select an entry , it doesn't highlight the entry right. Its worth noting that using KB short cuts for menus and entries DOES do the right thing on screen so it seems like its specific to the mouse interraction. Other then that, it seems to work great! JK On Dec 22, 2007 7:23 AM, Yuan Chao [EMAIL PROTECTED] wrote: On Dec 22, 2007 5:00 PM, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote: I brought up a couple of X apps from the terminal window on my virtual XO. Alt-Tab cycles through the windows, including the Journal. You can also use Alt-p or Alt-n to cycle through the windows. The related keyboard shortcuts can be found here. http://wiki.laptop.org/go/Keyboard_Shortcuts -- Best regards, Yuan Chao ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- ~~ Microsoft help desk says: reply hazy, ask again later. ~~ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Fooling with Java
Okay, I have a JDK installed and it seems to work. For grins i put netbeans on my USB stick and fired it up. It seems to be working however I get no main display. I do get pop up dialogs though. My suspicion is that Netbeans is asking the X wm for a Window and, sicne from what I cna see the window manager in the OLPC is windowless (one fullscreen root window only) it ends u pwitha null window and all the drawing goes down the bit bucket. Has anyone else played with this? If so does anyone know any magic to get it to use the root window for the app frame? JK -- ~~ Microsoft help desk says: reply hazy, ask again later. ~~ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel