swing - Using GUI based java application for mobile application -


i have developed java application in netbeans 7.1.2 uses different swing controls combobox, jcalendar (for taking date input user) textfields (for inputs user), command button doing calculation in code etc. , display result in textfield. program uses derby data table while doing calculations. using sql statements executing queries based on user input. application works absolutely fine.

now, want make standalone mobile application of project. considering controls using above appropriate source package , file should looking in mobile application project? don't mind building gui again , putting code in not of work if can use built application , good.

after bit of google, have tried opening mobile application in java me , open java package (right click>new>java package), here tried (right click>new>) visual midlet, jframe form, gui xlet form etc. none of them seem have swing controls. pallette shows beans, java persistence , jcalendar only.

am supposed add/load controls jar file? or mobile application not support swing controls? in such case how can generate gui using else/similar? have tried copy pasting earlier form design new jframe form source code red on , errors java.awt.event.actionevent not exist appearing on controls in code. supposed import here?

the application meant both, smart phones full wide touch screens , simple phones small screens may have change interface breaking smaller bits taking user input 1 one , loading them 1 after another. right want suggestions full gui widescreen smart-phones.

the reason using java me because feel can deployed on phone irrespective of os. please correct me if wrong , enlighten me.

the j2me subset of java. contains of java packages, classes, etc. not contain classes, packages of java. contains additional j2me specific classes,packages,etc not in java.

the j2me specific packages contains classes gui similar awt, swing, etc.

better first read j2me tutorial sample programs. helpful build project.

"j2me complete reference" book beginners.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -