2 problems with X

Ariel Manzur <[email protected]> Wed, 24 Nov 2004 17:33:07 -0300
Newsgroups gmane.network.freenet.frost.user
Message-ID <[email protected]>
Hi..

I'm new to frost (and freenet). I'm using the latest stable build,
from may 28th, on debian, with java version 1.5.0, and I have 2
problems. The first is that I can't post messages (wich is why I'm
posting this here and not the newbies forum ;). When I press the
'compose' button nothing happens, and I get a big traceback on the
console (wich I'm pasting at the end of this mail). I assume the
relevant parts are:

Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be
<= 0
[...]
        at frost.gui.MessageFrame.composeMessage(MessageFrame.java:582)
        at frost.gui.MessageFrame.composeNewMessage(MessageFrame.java:534)
        at frost.MainFrame.tofNewMessageButton_actionPerformed(MainFrame.java:2914)
[...]

Is this a known bug? I sounds like it's trying to determine the size
of some window, but it's getting 0,0, but I'm afraid I'm not familiar
enough (or at all) with java to check it out myself. Is there a more
recent build I could try?

The second problem is minor.. When I use alt+tab to switch to
different windows, I can't see to frost icon on the task list that
shows up when you press alt+tab, I have to go down to the task bar to
select it (wich is annoying because I always keep my task bar hidden).
I'm using XFree86 4.2.1 with icewm as the window manager.. I realize
it's not a common window manager, maybe it has something to do with
the previous problem as well.

I'd apreciate any help. thanks..

Ariel.

p.s: below is the complete traceback:

--
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width
 (0) and height (0) cannot be <= 0
        at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
Source)
        at sun.awt.X11.XFramePeer.setIconImage(Unknown Source)
        at sun.awt.X11.XFramePeer.postInit(Unknown Source)
        at sun.awt.X11.XBaseWindow.init(Unknown Source)
        at sun.awt.X11.XBaseWindow.<init>(Unknown Source)
        at sun.awt.X11.XWindow.<init>(Unknown Source)
        at sun.awt.X11.XComponentPeer.<init>(Unknown Source)
        at sun.awt.X11.XCanvasPeer.<init>(Unknown Source)
        at sun.awt.X11.XPanelPeer.<init>(Unknown Source)
        at sun.awt.X11.XWindowPeer.<init>(Unknown Source)
        at sun.awt.X11.XDecoratedPeer.<init>(Unknown Source)
        at sun.awt.X11.XFramePeer.<init>(Unknown Source)
        at sun.awt.X11.XToolkit.createFrame(Unknown Source)
        at java.awt.Frame.addNotify(Unknown Source)
        at java.awt.Window.show(Unknown Source)
        at frost.gui.MessageFrame.composeMessage(MessageFrame.java:582)
        at frost.gui.MessageFrame.composeNewMessage(MessageFrame.java:534)
        at frost.MainFrame.tofNewMessageButton_actionPerformed(MainFrame.java:2914)
		at frost.MainFrame.access$3900(MainFrame.java:60)
        at frost.MainFrame$MessagePanel.newMessageButton_actionPerformed(MainFrame.java:1203)
        at frost.MainFrame$MessagePanel.access$500(MainFrame.java:154)
        at frost.MainFrame$MessagePanel$Listener.actionPerformed(MainFrame.java:184)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/