由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - swing 在 mac intel 下的bug怎么修正?
相关主题
java在美国到底怎样?What's new in Java 6?
问一下swing的前途Java's performance myth
Re: [转载] create gif/png image in C or jaHow about Swing?
structure in Java??xp 是不是不支持jave 阿?
关于J2EE vs. .NETStupid IBM JDK
迷惑了很久,java 和 c++ 到底谁快?JDK Source?
org..eclipse.swt errorStupid IBM JVM: operator precedence
[转帖]如何才算掌握Java(J2SE篇)Java on AIX
相关话题的讨论汇总
话题: mac话题: swing话题: intel话题: 修正话题: component
进入Java版参与讨论
1 (共1页)
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

1 (共1页)
进入Java版参与讨论
相关主题
Java on AIX关于J2EE vs. .NET
如何改变JDK 的语言设置迷惑了很久,java 和 c++ 到底谁快?
help:tomcat5 on FC4org..eclipse.swt error
java memory problem with redhat enterprise[转帖]如何才算掌握Java(J2SE篇)
java在美国到底怎样?What's new in Java 6?
问一下swing的前途Java's performance myth
Re: [转载] create gif/png image in C or jaHow about Swing?
structure in Java??xp 是不是不支持jave 阿?
相关话题的讨论汇总
话题: mac话题: swing话题: intel话题: 修正话题: component