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
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.
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.Dialogclass at the project homepage:– http://java.net/projects/sip-for-me/sources/svn/content/trunk/src/sip4me/gov/nist/siplite/stack/Dialog.java
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: