Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Swing UI components under Linux



Is it a common practice to use Swing components in Eclipse applications?

Rich Schwerdtfeger
STSM, Software Group Accessibility Strategist
Emerging Internet Technologies
Chair, IBM Accessibility Architecture Review  Board
schwer@xxxxxxxxxx, Phone: 512-838-4593,T/L: 678-4593

"Two roads diverged in a wood, and I -
I took the one less traveled by, and that has made all the difference.",
Frost



|---------+------------------------------------->
|         |           "Konstantin Zaporozhtsev" |
|         |           <Konstantin.Zaporozhtsev@b|
|         |           orland.com>               |
|         |           Sent by:                  |
|         |           platform-swt-dev-admin@ecl|
|         |           ipse.org                  |
|         |                                     |
|         |                                     |
|         |           04/10/2003 04:14 PM       |
|         |           Please respond to         |
|         |           platform-swt-dev          |
|---------+------------------------------------->
  >-----------------------------------------------------------------------------------------------------------|
  |                                                                                                           |
  |       To:       <platform-swt-dev@xxxxxxxxxxx>                                                            |
  |       cc:                                                                                                 |
  |       Subject:  [platform-swt-dev] Swing UI components under Linux                                        |
  >-----------------------------------------------------------------------------------------------------------|





Hi,

             Is it possible to use awt or swing widgets in Eclipse running
on
Linux platform somehow? For instance, I can create and open JFrame and
it works well on Windows platform. But on Linux platform Eclipse crashes
when I try to call jFrame.show().


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4cb4de4a
Function name=(N/A)
Library=/home/kz/Eclipse2.1/eclipse/jre/lib/i386/libawt.so

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.



Current Java thread:
             at sun.awt.motif.MToolkit.loadSystemColors(Native Method)
             at
java.awt.SystemColor.updateSystemColors(SystemColor.java:342)
             at java.awt.SystemColor.<clinit>(SystemColor.java:335)
             at sun.awt.motif.MComponentPeer.pSetBackground(Native Method)
             at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:72)
             at
sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:118)
             at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:175)
             at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:86)
             at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:53)
             at sun.awt.motif.MToolkit.createFrame(MToolkit.java:138)
             at java.awt.Frame.addNotify(Frame.java:353)
             at java.awt.Window.show(Window.java:387)
             ...

Thanks in advance,
Konstantin.
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top