java - What equivalent in MIDP programing to the JButton of swing-application? -
In the swing (GUI) application I used to use jabbets.
Now I need the same application in MIDP and I want to use it with the console ...
whom to use with and how to use it and what kind of audience it can be. the wanted. (Because I need to refresh the screen shown after every click on the button)
And another question: I use netbins with a cellphone simulator. The screen is too small, there is any way to make this screen bigger, if I have to show some more width? Say, something like 11-15 buttons ...
I do not think anything really Is equal to a pocket, but I think you can solve your problem by applying a command. I get a lot of examples:
- (It's a little late. This is actually a complete chapter from a book and starts on the command example.)
- (Also a book, but I am related to the related section.)
- (I like the commandProcessor.java code example in this one.)
- (This is the least and obvious example code, but unfortunately the end result is not a screen shot.)
Comments
Post a Comment