Reputation: 3120
I need to know how to use a Dialog class in J2me.
Any example.
I created a Dialog d=new Dialog()
as per seen in one of the questions answered in Stack Overflow:
But it gives an error Dialog() not visible.
I got import gov.nist.siplite.stack.Dialog;
package for Dialog box
Upvotes: 1
Views: 565
Reputation: 6215
You are using wrong import that takes Dialog object from wrong project (details below) instead of LWUIT.
For more details on how to use LWUIT, refer to 'lwuit' tag wiki page.
I got
import gov.nist.siplite.stack.Dialog;
package for Dialog box
Given above it looks like you are trying to work with Sip-for-me project.
Here is the reference to source code of gov.nist.siplite.stack.Dialog
class at the project homepage:
- http://java.net/projects/sip-for-me/sources/svn/content/trunk/src/sip4me/gov/nist/siplite/stack/Dialog.java
an example of Dialog()
You can look for usage examples at Sip-for-me project homepage or ask at their "Users mailing list" which is also referred to from project page.
As far as I can tell, project isn't particularly active and their documentation looks rather poor, so you may also consider following reference given at their svn / trunk page:
Contributions were made by many people to NIST-SIP. Please see
http://jain-sip.dev.java.net/
Upvotes: 2