This post serves as a destination for LWUIT Designer help and reference, it will be updated with additional videos and clarifications as time goes by. Feel free to use the comments to ask for specific clarifications regarding the tool and its usage, we will try to fill up this post with more text and explanations as time goes by.
Bellow you can see a new HD tutorial for some of the features in the current tool.
Hi,
ReplyDeleteI have created a Glass pane in my form and drawn a list over the glass pane in its paint (). But list is not being focused. when fire button is clicked its action performed () is not called. How can i make the list, function like normal list placed in form ???
Hi, can you tell me the link to download the software LWUIT Designer( Resources Editor)? Thanks so much.
ReplyDeleteGioLao!
Is there a way to add a new preview resolution to the LWUITDesigner?
ReplyDeleteThere is 640x320 but the new Nokia phones are 640x360. How can I add this resolution to the preview options?
Hi,
ReplyDeleteiam trying to apply a theme to my application but i get some error,
this is the error:
java.lang.NullPointerException
at
java.io.DataInputStream.read
java.io.DataInputStream.readUnsignedShort(+4)
java.io.DataInputStream.readShort(+4)
com.sun.lwuit.util.Resources.openFile
com.sun.lwuit.util.Resources.init
com.sun.lwuit.util.Resources.open
login.loginscreen.startApp
java.io.IOException
at com.sun.lwuit.util.Resources.open
login.loginscreen.startApp
I wrote it in the function startApp like this:
Resources res = Resources.open("src/myTheme.res")
All the build process do it well in fact, the application runs but, it doesnt load the Theme.
Please help me to figure out whats going on.
Thanx.
May be because of wrong path
ReplyDeleteResources res = Resources.open("src/myTheme.res")
Try this
Resources res = Resources.open("/src/myTheme.res")
Is it possible to copy and paste a theme inside a Resource file by using the ResourceEdit tool?
ReplyDeleteI just need to have a second resource file with minor changes and I don't want to add everything from the scracth..
I hope somebody will see this as it's been quite a while that someone has posted here..
Thanx :)
@Micha: use an action listener.
ReplyDelete@Taxiarchis: It is not possible to copy a theme but we have something better. You can load a theme using setThemeProps() then use addThemeProps() to add properties or perform minor tweaks to the theme.
Use system fonts
ReplyDeleteThe new resource editor has a new file format which won't work with older versions of LWUIT.
ReplyDeleteNewer versions of LWUIT only read the new file format (we dropped backwards compatibility to the really old format).
LWUIT Designer is getting stuck when I open a Theme. I open editor.jar fine. I open my RES file fine. I pick the MIDlet fine. I select the Theme (which I created several weeks ago and haven't touched since) and it all freezes. This also happened to me at first with the LWUIT Demo and its theme, but picking the MIDlet seemed to have solved the problem there.
ReplyDeleteI went back to my app and selected the LWUIT Demo as the MIDlet with my RES file and it opened. So what's wrong with my MIDlet? Thanks :-)
LWUIT Designer does not seem to preview the Gradient X/Y parameters - using LWUIT demo, playing with the Gradient colors is immediately visible in the demo midlet on the side. But playing with the X/Y params - nothing seems to change. What am I missing?
ReplyDeleteThere seems to be a bug in JavaSE's ImageIO API that causes some images to trigger a security exception (not your fault). I worked around that bug in the current SVN and pick MIDlet should now work fine (make sure to update the link to the new resource editor link mentioned in my latest posts).
ReplyDeleteThe positioning of the radial gradient seems to be always the center right now. This is probably a regression I did a couple of weeks ago. I'll try and fix it.
Hi, How To Implement Costum Style like DemoButton, in J2ME Code?
ReplyDeletenew Style(...), setStyle* methods...
ReplyDeleteKindly,send me any lwuit rss reader code on kuriadedan@gmail.com that utilizes kxml
ReplyDelete