Displaying 2 results from an estimated 2 matches for "helloworldswing".
2002 Dec 30
1
Java Swing App
...Has anyone else gotten Swing-based apps to
run?
I have a test case, basically a swing "hello world" app, and I haven't
been able to get it to work either. Here's what happens when I try to
compile it:
[dritch@twitch wine]$ wine -- c:/jdk1.3/bin/javac -g -d "."
"HelloWorldSwing.java"
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
wine: Unhandled exception, starting debugger...
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 15 (X_QueryTree)
Resource...
2012 Dec 22
0
[LLVMdev] Problem executing Swing application with j3
...aleil
<baptiste.saleil at gmail.com>wrote:
> Hi Nicolas, thanks for your answer.
>
> The swing hello world is the following (Running perfectly with OpenJDK) :
>
> public class HelloSwing {
> public static void main(String[] args) {
> JFrame frame = new JFrame("HelloWorldSwing");
> final JLabel label = new JLabel("Hello World");
> frame.getContentPane().add(label);
>
> frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
> frame.pack();
> frame.setVisible(true);
> }
> }
>
> I'm running j3 on a 32 bit...