From: cindy <inf...@pi...> - 2001-03-23 17:23:46
|
Hi, I was using Blackdown distro but decided to change to IBM rel. 1.3.0. I'm writting few simple programs to learn jython and came across some problems. I have a statement in one of my test module that looks like this; "self.aFrame.setBackground(java.awt.Color.green)". When I run the module it displays green, but within the batt-of-the-eye the background color turn to gray. I should point out that when I start this module I get an error message that looks like this; Warning: Cannot allocate colormap entry for default background Can someone give me a solution for this. Second problem is terninating the window. I use the window manager to close the window. That works ok. However I don't get the command line return to me until I use cntrl-d to kill the process. Is this action going to persist until I close my window with a java statement? Thanks. Wayne p.s. I know my messages show cindy in them. I'm using her machine. |