here is some chunks of the source
QShipShell.java:
---
public class QShipShell extends MIDlet implements CommandListener
{
private RecieveBuffer recieveBuffer;
private List list;
public QShipShell()
{
recieveBuffer = new RecieveBuffer(this);
recieveBuffer.start();
---
public List getMenu()
{
return list;
}
---
RecieveBuffer.java:
---
Thread eventChecker;
MIDlet shell;
public RecieveBuffer(MIDlet _shell)
{
shell = _shell;
eventChecker = new Thread(this);
}
---
Alert alert = new Alert("Server Message","Driver Logged
On",null,AlertType.INFO);
alert.setTimeout(Alert.FOREVER);
shell.setCurrent(alert,shell.getMenu());
---
Here is the error:
c:\WTK104\apps\NetworkConnections\src\RecieveBuffer.java:36: cannot resolve symbol
symbol : method getList ()
location: class javax.microedition.midlet.MIDlet
shell.setCurrent(alert,shell.getMenu());
In fact any method I make that is not from the super or implemented classes seems not
to compile. Is there something important I missed in the documentation??
It's not too too important at this time, I decided to use:
Display.getDisplay(shell).setCurrent(alert,Display.getDisplay(shell).getCurrent());
But, I am sure I will want to call upon methods I create from my main MIDLet sometime
in the future.
Luc
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________