p**i 发帖数: 100 | 1 我写的程序在MAC Intel 下不能运行,主要是因为我用了JFrame,看大家的说法好像已
经修正了这个bug,但是我在
MAC Intel下开发的时候用的是MAC 提供的JAVA,应该怎么做?请高人指点! | g*****g 发帖数: 34805 | 2 Get the latest JDK from Sun?
【在 p**i 的大作中提到】 : 我写的程序在MAC Intel 下不能运行,主要是因为我用了JFrame,看大家的说法好像已 : 经修正了这个bug,但是我在 : MAC Intel下开发的时候用的是MAC 提供的JAVA,应该怎么做?请高人指点!
| c*****t 发帖数: 1879 | 3 JFrame itself is not the problem. In fact, the Swing in general is fine
under Mac. Just need to be careful that some functions must be called
within the event thread, or exceptions would occur.
Also, Mac version of JVM tweaked graphics drawing routines. These are
much harder to deal with.
【在 p**i 的大作中提到】 : 我写的程序在MAC Intel 下不能运行,主要是因为我用了JFrame,看大家的说法好像已 : 经修正了这个bug,但是我在 : MAC Intel下开发的时候用的是MAC 提供的JAVA,应该怎么做?请高人指点!
| p**i 发帖数: 100 | 4 swing 和 SWT 你建议用哪个?我的程序刚完成0.0版,现在改还来得及。
我用的jogl做图形处理的!
【在 c*****t 的大作中提到】 : JFrame itself is not the problem. In fact, the Swing in general is fine : under Mac. Just need to be careful that some functions must be called : within the event thread, or exceptions would occur. : Also, Mac version of JVM tweaked graphics drawing routines. These are : much harder to deal with.
| c*****t 发帖数: 1879 | 5 Both are good, and there pros and cons.
If I remember correctly, jogl can be used using Swing component,
but performance may suffer. If you are using heavy weight component
(such as Canvas), then there are issues with mixing with Swing
components, although it is fairly easy to deal with. If you are
using some sort of docking frameworks, however, then you will
experience some difficulties dealing with heavy weight component.
For SWT, it has GLCanvas, although the documentation seems to
indicate
【在 p**i 的大作中提到】 : swing 和 SWT 你建议用哪个?我的程序刚完成0.0版,现在改还来得及。 : 我用的jogl做图形处理的!
| p**i 发帖数: 100 | 6 谢谢!
【在 c*****t 的大作中提到】 : Both are good, and there pros and cons. : If I remember correctly, jogl can be used using Swing component, : but performance may suffer. If you are using heavy weight component : (such as Canvas), then there are issues with mixing with Swing : components, although it is fairly easy to deal with. If you are : using some sort of docking frameworks, however, then you will : experience some difficulties dealing with heavy weight component. : For SWT, it has GLCanvas, although the documentation seems to : indicate
|
|