how to add buttons for touch phones in netbeans?
how to add buttons for touch phones in netbeans?
Page 1 of 111 Replies - 2251 Views - Last Post: 17 June 2011 - 08:15 AM
Replies To: how to add buttons for touch phones in netbeans?
#2
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 07:47 AM
Just like you would if you weren't dealing with touch phones. Java doesn't care if the phone has a touch-screen or not. Clicks will still be registered appropriately b/c that's what the phone relays to Java.
One way to add a button would be to add Commands to a Form, then setCurrent() on the display to that Form.
One way to add a button would be to add Commands to a Form, then setCurrent() on the display to that Form.
#3
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 07:50 AM
but there's no default buttons to add in netbeans,
#4
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 07:54 AM
There is no Button object in Java ME. Check out the documentation for a list of GUI Components.
Also, when you say you are trying to "add a Button in NetBeans," I hope you are coding this by hand rather than using the visual GUI Builder. The GUI Builder produces horrid code, and it is really better to write all your code by hand.
Also, when you say you are trying to "add a Button in NetBeans," I hope you are coding this by hand rather than using the visual GUI Builder. The GUI Builder produces horrid code, and it is really better to write all your code by hand.
#5
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 07:59 AM
but how will i start to code? is there some tutorials?
#6
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:01 AM
#7
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:05 AM
but i'm using netbeans for a mobile application that should be implemented in a touch phone? is oracle close to netbeans?
#8
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:06 AM
Oracle is the company that makes Java. Look, NetBeans is just a fancy editor if you are writing your code by hand. It doesn't really make a big difference.
Also, Java ME hardly has any market share. Android has a significantly greater market share and number of touch phones running this platform. You may want to consider working with Android instead of Java ME.
Also, Java ME hardly has any market share. Android has a significantly greater market share and number of touch phones running this platform. You may want to consider working with Android instead of Java ME.
#9
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:08 AM
i'm sorry i'm really just a newbie with this kind of mobile programming
#10
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:09 AM
It's not a problem. We were all new to programming at some point. Are you familiar with Java at all? I would start with some basic Java (look at Java SE), then move onto Android. We also have tutorials sections for Java and Android.
#11
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:14 AM
Yes! We had java class before, and now were going to do a thesis of a mobile application and i don't know how to start
#12
Re: how to add buttons for touch phones in netbeans?
Posted 17 June 2011 - 08:15 AM
I gave you links to tutorials, if you go the Java ME route. Start with those. If you are comfortable with Swing and AWT in Java SE, then the Java ME GUI framework is very similar. Also, if you are doing your thesis and don't know where to start, something is very wrong with the education you have received. You should sit down and have a conversation about this with your professor, adviser, etc.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote







|