Re: [javaCompiler-users] NetBeans and JSwing Layout Support and JMF Support
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-09-20 22:20:46
|
Joe Osborne wrote: > Hello Mark Hello Jack ;-) > Many thanks for your incredibly quick reply and the > detailed help you have given me. > > I am using GridBagLayout in my JSwing now. > javaCompiler doesn't complain about the code anymore. If you create an unmanaged project, you use the GNU classpath AWT/Swing. That doesn't work on windows and it currently doesn't work on linux either. You have to use a managed AWT/Swing project and there the problem starts (http://javacompiler.mtsystems.ch/frame_faq.html; second question) > It doesn't like jmf.jar(Java Media Framework) but I > will work on it. I downloaded JMF and tried a little: - It needs sun classes that are not yet in gcj. You could add them manually. - The player window uses AWT or Swing, so I guess it will be hard to get that working with swingWT. But you could try... If you invest some time, you will get it working. But in my opinion, you're really better off with mplayer. It plays all existing codecs and is stable. Check a early release of my current project: http://home.zhwin.ch/~trudemar/tmp/VideoAlbum-0.3a-win.zip If you're interested, I could send you the jar for the bluetooth remote control (you need a midp 2.0 device with jsr82 support (e.g. Nokia 6230)) ;-) > I can't use 'mplayer' as you are > doing because I am on Windows 2000. Why? Works perfectly on windows, linux and mac... > I will stay with JSwing and NetBeans for now. I've > looked into it and I think it would take me a long > while to change to SWT. But that's currently the only real chance to get GUI applications compiled for windows. Marco |