From: Marcel R. <mr...@ma...> - 2007-08-12 22:58:28
|
Hi, i'm calling displayable.setTitle("Bla"); but it is not visible in microemu as my font seems to be white and the title bar background is white as well. How can i change this? Thanks Marcel -- Marcel Ruff http://www.xmlBlaster.org |
From: Bartek T. <ba...@ba...> - 2007-08-13 10:08:04
|
I think the problem is not with the white colors but because of the bug that doesn't call repaint after setTitle call. I've fixed it right now on the trunk. Bartek 2007/8/13, Marcel Ruff <mr...@ma...>: > Hi, > > i'm calling > > displayable.setTitle("Bla"); > > but it is not visible in microemu as my font seems to be white > and the title bar background is white as well. > > How can i change this? > > Thanks > Marcel > > -- > Marcel Ruff > http://www.xmlBlaster.org > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Microemulator-users mailing list > Mic...@li... > https://lists.sourceforge.net/lists/listinfo/microemulator-users > |
From: Marcel R. <mr...@ma...> - 2007-08-13 14:52:29
|
Bartek Teodorczyk wrote: > I think the problem is not with the white colors but because of the > bug that doesn't call repaint after setTitle call. I've fixed it right > now on the trunk. > Ahh, good to hear! Can i download the microemu.jar snapshot somewhere? I've tried with svn and mvn but after this i gave up: Downloading: http://repository.codehaus.org/net/sf/jour/jour-maven-plugin/2.0.0-SNAPSHOT/jour-maven-plugin-2.0.0-SNAPSHOT.jar [WARNING] Unable to get resource 'net.sf.jour:jour-maven-plugin:maven-plugin:2.0.0-SNAPSHOT' from repository codehaus.org (http://repository.codehaus.org) thanks for you quick turnaround :-) Marcel > Bartek > > 2007/8/13, Marcel Ruff <mr...@ma...>: > >> Hi, >> >> i'm calling >> >> displayable.setTitle("Bla"); >> >> but it is not visible in microemu as my font seems to be white >> and the title bar background is white as well. >> >> How can i change this? >> >> Thanks >> Marcel >> >> -- >> Marcel Ruff >> http://www.xmlBlaster.org >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Microemulator-users mailing list >> Mic...@li... >> https://lists.sourceforge.net/lists/listinfo/microemulator-users >> >> > > -- Marcel Ruff http://www.xmlBlaster.org |
From: Marcel R. <mr...@ma...> - 2007-08-13 15:42:15
|
Thanks this helped to compile, I'm using now the svn snapshot from today. But the problem remains: The title is white and empty (but fine on WTK and real devices). Any more ideas :-)? thanks Marcel PS: When using the snapshot instead of 2.0.1 i have to use again '--usesystemclassloader' to get the debug session running (see my previous threads about this topic): --usesystemclassloader --propertiesjad My.jad org.xmlBlaster.MyMidlet is this a 'must have' option with the coming release? Vlad Skarzhevskyy wrote: > Uncomment pluginRepository pyx4me-web in your main pom. when building > the code from the SVN. > > On 8/13/07, *Marcel Ruff* < mr...@ma... > <mailto:mr...@ma...>> wrote: > > Bartek Teodorczyk wrote: > > I think the problem is not with the white colors but because of the > > bug that doesn't call repaint after setTitle call. I've fixed it > right > > now on the trunk. > > > -- Marcel Ruff http://www.xmlBlaster.org |
From: Bartek T. <ba...@ba...> - 2007-08-14 10:15:09
|
2007/8/13, Marcel Ruff <mr...@ma...>: > Thanks this helped to compile, I'm using now the svn snapshot from today. > > But the problem remains: The title is white and empty (but fine on WTK > and real devices). > > Any more ideas :-)? > Create a send me simple MIDlet to reproduce that problem. > thanks > Marcel > > PS: When using the snapshot instead of 2.0.1 i have to use again > '--usesystemclassloader' > to get the debug session running (see my previous threads about this topic): > > --usesystemclassloader > --propertiesjad My.jad > org.xmlBlaster.MyMidlet > > is this a 'must have' option with the coming release? > Please send me some sample code, I'll try to look into it. Bartek > Vlad Skarzhevskyy wrote: > > Uncomment pluginRepository pyx4me-web in your main pom. when building > > the code from the SVN. > > > > On 8/13/07, *Marcel Ruff* < mr...@ma... > > <mailto:mr...@ma...>> wrote: > > > > Bartek Teodorczyk wrote: > > > I think the problem is not with the white colors but because of the > > > bug that doesn't call repaint after setTitle call. I've fixed it > > right > > > now on the trunk. > > > > > > > -- > Marcel Ruff > http://www.xmlBlaster.org > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Microemulator-users mailing list > Mic...@li... > https://lists.sourceforge.net/lists/listinfo/microemulator-users > |
From: Marcel R. <mr...@ma...> - 2007-08-14 16:15:25
|
Hi again, i have now found out that it is related to my code using Canvas, here is a functional example, it works fine in WTK but not in microemu, thanks Marcel Title.java =============================== package title; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Display; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; public class Title extends MIDlet { Canvas c; protected void destroyApp(boolean arg0) throws MIDletStateChangeException {} protected void pauseApp() {} protected void startApp() throws MIDletStateChangeException { c = new CanvasTest("HELLO"); Display.getDisplay(this).setCurrent(c); } } =============================== CanvasTest.java =============================== package title; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Graphics; public class CanvasTest extends Canvas { public CanvasTest(String title) { setTitle(title); } protected void paint(Graphics arg0) { } } =============================== Bartek Teodorczyk wrote: > 2007/8/13, Marcel Ruff <mr...@ma...>: > >> Thanks this helped to compile, I'm using now the svn snapshot from today. >> >> But the problem remains: The title is white and empty (but fine on WTK >> and real devices). >> >> Any more ideas :-)? >> >> > > Create a send me simple MIDlet to reproduce that problem. > > >> thanks >> Marcel >> >> PS: When using the snapshot instead of 2.0.1 i have to use again >> '--usesystemclassloader' >> to get the debug session running (see my previous threads about this topic): >> >> --usesystemclassloader >> --propertiesjad My.jad >> org.xmlBlaster.MyMidlet >> >> is this a 'must have' option with the coming release? >> >> > > Please send me some sample code, I'll try to look into it. > > Bartek > > >> Vlad Skarzhevskyy wrote: >> >>> Uncomment pluginRepository pyx4me-web in your main pom. when building >>> the code from the SVN. >>> >>> On 8/13/07, *Marcel Ruff* < mr...@ma... >>> <mailto:mr...@ma...>> wrote: >>> >>> Bartek Teodorczyk wrote: >>> > I think the problem is not with the white colors but because of the >>> > bug that doesn't call repaint after setTitle call. I've fixed it >>> right >>> > now on the trunk. >>> > >>> >>> >> -- >> Marcel Ruff >> http://www.xmlBlaster.org >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Microemulator-users mailing list >> Mic...@li... >> https://lists.sourceforge.net/lists/listinfo/microemulator-users >> >> > > -- Marcel Ruff http://www.xmlBlaster.org |