tag:blogger.com,1999:blog-4691915549420037229.post6974858515354531465..comments2023-10-02T08:22:09.656-07:00Comments on The LWUIT Blog: Generating A Netbeans Project From The Resource EditorOfir Leitnerhttp://www.blogger.com/profile/08721818051943678344noreply@blogger.comBlogger40125tag:blogger.com,1999:blog-4691915549420037229.post-64069801362122343332013-09-05T22:55:14.248-07:002013-09-05T22:55:14.248-07:00If its the latest version of any of the softwares,...If its the latest version of any of the softwares, I have them. (Netbeans 7.3.1, LWUIT 1.5, JDK7, Java SDK 3.3, J2ME Wireless Toolkit 2.5.2 &Eclipse). I used the LWUIT editor for a few days, However, now when I open the resource editor, 1.) It doesn't show the Themes when I select them in the dialog box, and if I click on anyone of them, the whole App just gets stuck there.<br /><br />2.) The GUI doesn't show<br /><br />3.) The little tab icons for ''Themes, Images, Fonts, Localization, Data, & GUI Builder'' don't show anymore. Moreover, the LWUIT icon that normally shows on the taskbar now displays the 'JAVA' icon instead. <br /><br />Guys, please I REALLY need your help on these issues.Dj_Rex_Richardhttps://www.blogger.com/profile/02686577282878129305noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-78288898789386221762013-07-08T06:56:30.842-07:002013-07-08T06:56:30.842-07:00how to insert an editable table in one of the form...how to insert an editable table in one of the forms ???? please helpsanahttps://www.blogger.com/profile/01642559193514958977noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-83146362323925775842013-03-05T02:14:25.306-08:002013-03-05T02:14:25.306-08:00and also its doesn't generate MainMIDlet.java...and also its doesn't generate MainMIDlet.java file on the projectHerahadi A.N.https://www.blogger.com/profile/14084469479191842416noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-63113893912291555022013-03-05T02:10:55.718-08:002013-03-05T02:10:55.718-08:00i use lwuit 1.5 and netbeand 7. when i generate ne...i use lwuit 1.5 and netbeand 7. when i generate netbeans project from resource editor its always give me an error that said <br /><br />"Problem: The project uses the Java Platform called "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC", but this platform was not found.<br />Solution: Click Resolve and create new platform called "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC"."<br /><br />please help me... i have tried searching for it but no result. asked on stackoverflow but no help.. help me pleaseHerahadi A.N.https://www.blogger.com/profile/14084469479191842416noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-73598651006012929842012-12-29T12:35:14.979-08:002012-12-29T12:35:14.979-08:00Hello everyone i'm new to lwuit and developing...Hello everyone i'm new to lwuit and developing some app but it says "MAIN RUNNING NOTHING TO DISPLAY" i want the solution.BigBit Techhttps://www.blogger.com/profile/14045210744338333547noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-28775892321454670052012-12-29T12:27:46.640-08:002012-12-29T12:27:46.640-08:00I waant to know the answer plz.I waant to know the answer plz.BigBit Techhttps://www.blogger.com/profile/14045210744338333547noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-2350329516780273122012-09-03T23:29:46.660-07:002012-09-03T23:29:46.660-07:00hi there,
i am trying to explore LWUIT using NetBe...hi there,<br />i am trying to explore LWUIT using NetBeans 7.2 I am working on Linux Machine. After a week working with LWUIT, I got to know about LWUIT Designer or known as LWUIT Resource Editor.... But i am not getting how to install / run it on my linux system.<br /><br />the .jnlp file for resource editor throws this exception java.security.AccessControlException: access denied (java.util.PropertyPermission microedition.platform read)<br /><br />Kindly help regarding this<br />Thanks, Swati<br />Swati Joshihttps://www.blogger.com/profile/11880940910875065528noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-31050107048011870702012-07-16T07:48:24.003-07:002012-07-16T07:48:24.003-07:00Hi guys I have installed all the latest required s...Hi guys I have installed all the latest required softwares and used as to the steps followed by the video but I cant generate a single error free project,pls help me guys !Hawazhttps://www.blogger.com/profile/05162388807910189593noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-89293418038902232252012-06-23T09:55:44.392-07:002012-06-23T09:55:44.392-07:00First, thanks for this tutorial but how I can comb...First, thanks for this tutorial but how I can combined some UI that I've created beside the main UI?<br /><br />Then, Can I start generate Netbeans Projects without add the UI just configure the themes?<br />And can I write the code after the Netbeans project have created?<br />which project that I must write down the code to build my application?<br /><br />-Thanks a lots-Zettahttps://www.blogger.com/profile/05047976769971654413noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-56257153165342002642012-05-02T12:04:21.826-07:002012-05-02T12:04:21.826-07:00Nugraha, right click on your project, go to proper...Nugraha, right click on your project, go to properties, select platform, and configure it from there.Houdinihttps://www.blogger.com/profile/10197436317731002012noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-41884381800022193502012-04-17T11:51:56.033-07:002012-04-17T11:51:56.033-07:00hey can i ask question??? every time i use generat...hey can i ask question??? every time i use generate netbeans project its always error with this The following error occurred while executing this line:Platform home (platform.home property) is not set. Value of this property should be Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC emulator home directory location.<br />can you help me figure this out.. im new using thisNugraha Agahttps://www.blogger.com/profile/07369108134261576417noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-56847347369891067552012-01-26T06:10:58.456-08:002012-01-26T06:10:58.456-08:00Which project?You have 5 projects generated for th...Which project?<br>You have 5 projects generated for the resource editor.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-14398466001995256942011-12-05T20:14:32.725-08:002011-12-05T20:14:32.725-08:00shalom Shai,i insatlled the new sdk(3.0.5), and i ...shalom Shai,<br>i insatlled the new sdk(3.0.5), and i have alot of problems with the LwuiT tool.<br>(i have NB7.0.1 & JDK7).<br>i tried to make simple project such as helloword.but:<br>1. wihen i generate the NB project, it caouse to open the NB 4 times!!!!!!<br>2. all the project that have been generated with resources problem and erros!!!!<br>3. when i fixed the resources problem and tried to run them i have empty screen at the emulator instead the blankform with the helloword label!!!<br>4.the RIM project have erros. it didn't find<br> import net.rim.device.api.ui.UiApplication;<br>and sow it didn't have the UiApplication?<br>5. when i tried to run the MIDP project, i have this problem:<br>Application descriptor does not declare any MIDlet. Direct execution is not allowed.<br><br>Error preverifying class com.sun.lwuit.impl.midp.CanvasImplementation<br> VERIFIER ERROR com/sun/lwuit/impl/midp/GameCanvasImplementation.paintVideo(Lcom/sun/lwuit/Component;ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V:<br>Cannot find class javax/microedition/media/control/VideoControl<br>D:\MyNBProjects\mylwuit01\MIDP\nbproject\build-impl.xml:484: Preverification failed with error code 1.<br>BUILD FAILED (total time: 8 seconds)<br><br>6.samihhttp://www.blogger.com/profile/05994333212221473535noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-65252326943835202822011-10-15T23:08:33.703-07:002011-10-15T23:08:33.703-07:00I'm guessing you are replacing the text field ...I'm guessing you are replacing the text field in some way. This should be pretty easy though and you can do it in quite a few ways.<br>The first is to have the text field always there but set it to visible false, this might not be appropriate since the text field will still occupy the same space.<br>The second approach is to create an area where the text field will be added, a container with an appropriate layout. Then when the button is pressed just use something like: findTextFieldDestContainer(root).addComponent(new TextField());Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-78486861431100349702011-10-13T16:38:43.650-07:002011-10-13T16:38:43.650-07:00i'm a little new to this but i want to be able...i'm a little new to this but i want to be able to create a new instance of a textfield and add it when an event occurs say "Button clicked".. but all i'm getting is one textfield replacing the previous.Quakuhttp://www.blogger.com/profile/05510447192021184168noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-14434713902925009002011-09-10T23:47:21.880-07:002011-09-10T23:47:21.880-07:00You get a callback before a form actually shows wh...You get a callback before a form actually shows where its best to do such things. <br><br>A form instance doesn't exist before you show it, they are created on the fly to save RAM. You can create a form instance manually using createContainer(formName, resourceFile) however the navigation won't know about this instance and create its own form. It would be helpful if you go into details of what you are trying to achieve.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-74365624397580541922011-09-08T07:12:19.401-07:002011-09-08T07:12:19.401-07:00Hi ShaiI'm developing an app with lwuit, i'...Hi Shai<br><br>I'm developing an app with lwuit, i'm using resource editor and netbeans, i've been having this problem, i don't know how to reference any form on the StateMachine without showing it, is there any procedure like showForm that give me a form by the name but without showing it. What i want to do is put some info on the componets that could have a form before showing it.<br><br>Thanks for any help you could give me.<br><br>EdgareDGaR LoRahttp://www.blogger.com/profile/01907036546244138349noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-37050535135404476342011-08-07T02:44:14.387-07:002011-08-07T02:44:14.387-07:00I'm guessing the URL isn't supported by th...I'm guessing the URL isn't supported by the underlying MMAPI implementation but that's just a guess without the stack trace.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-51884462626417161012011-08-06T04:20:37.787-07:002011-08-06T04:20:37.787-07:00hi, i want to play a video using a url(HTTP URL)...hi,<br> i want to play a video using a url(HTTP URL). I tried to play that url using the static method VideoComponent.createVideoPeer("http://.........");<br>but i am getting nullpointerexception.kalyanhttp://www.blogger.com/profile/04171717695244126154noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-42674607238058406222011-08-03T23:07:44.323-07:002011-08-03T23:07:44.323-07:00That method is the listener and will be invoked on...That method is the listener and will be invoked on an action event to the text field.<br>There are other callbacks such as before/after form show occurred or on component creation where you can effectively bind listeners to the components returned. <br>I suggest you just open the source/GUI for the t-zone demo and step over it with a debugger to see how events are handled there.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-84079856802857143052011-07-31T23:34:47.946-07:002011-07-31T23:34:47.946-07:00Hi Shai hope u r fine,i want to clear some very ba...Hi Shai hope u r fine,i want to clear some very basic thing let us suppose i create a form Login in resource editor and there is a textfield now i generate netbeans project.I click Textfiled event method in resorce editor I got this method onLogin_TextFieldAction(component c,ActionEvent event ).Now tell me how can i do TextField coding in this method and how can i add listeners and where. <br><br>gauravgauravhttp://www.blogger.com/profile/04976251023869769431noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-50087554669673574002011-07-20T22:40:23.535-07:002011-07-20T22:40:23.535-07:00It seems like you are compiling against an old (1....It seems like you are compiling against an old (1.4) version of LWUIT.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-27355096497610160932011-07-19T07:13:48.467-07:002011-07-19T07:13:48.467-07:00When I compile the project generated by GUI Build...When I compile the project generated by GUI Builder the output shows - Error preverifying class generated.StateMachineBase java/lang/NoClassDefFoundError:com/sun/lwuit/util/UIBuilder and it also says Preverification failed with error code:1<br>As a result the other projects(MIDP etc) do not compile as the .jar that has the StateMachine code is not generated.Salilhttp://www.blogger.com/profile/16246325018209438441noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-23843422384654952472011-07-13T23:45:23.032-07:002011-07-13T23:45:23.032-07:00http://stackoverflow.com/questions/6682989/how-to-...http://stackoverflow.com/questions/6682989/how-to-write-lwuit-radio-button-code/6689404#6689404Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-49449838694175624482011-07-13T22:51:09.436-07:002011-07-13T22:51:09.436-07:00hi i m using netbeans 6.9 and lwuit 1.4.0.I want t...hi i m using netbeans 6.9 and lwuit 1.4.0.I want to know how and where(statemachine or statemachine)to code (radiobuttons or buttons)in desktop module.how to call component(buttons etc.)in that class(by name or text).gauravhttp://www.blogger.com/profile/06259671043953542880noreply@blogger.com