NetBeans Mobility Custom Component: Login Screen

View: New views
2 Messages — Rating Filter:   Alert me  

NetBeans Mobility Custom Component: Login Screen

by iwanwo@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

iam using netbeans 6.1, this sample wont work until i add "login()" at :

public SimpleCancellableTask getTask() {
        if (task == null) {
            // write pre-init user code here
            task = new SimpleCancellableTask();
            task.setExecutable(new org.netbeans.microedition.util.Executable() {
                public void execute() throws Exception {
                    // write task-execution user code here
                    login();
                }
            });
            // write post-init user code here
        }
        return task;
    }

where in the sample file already have that Login() command

----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page: http://www.netbeans.org/kb/60/mobility/loginscreen.html



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NetBeans Mobility Custom Component: Login Screen

by Karol Harezlak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for pointing it out. We'll try to fix it asap.

Karol

iwanwo@... wrote:

> iam using netbeans 6.1, this sample wont work until i add "login()" at :
>
> public SimpleCancellableTask getTask() {
>         if (task == null) {
>             // write pre-init user code here
>             task = new SimpleCancellableTask();
>             task.setExecutable(new org.netbeans.microedition.util.Executable() {
>                 public void execute() throws Exception {
>                     // write task-execution user code here
>                     login();
>                 }
>             });
>             // write post-init user code here
>         }
>         return task;
>     }
>
> where in the sample file already have that Login() command
>
> ----
> Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
> Referer page: http://www.netbeans.org/kb/60/mobility/loginscreen.html
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


--
Karol Harezlak <karol.harezlak@...>
Sun Microsystems, Inc. NetBeans Mobility
http://blogs.sun.com/kharezlak/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...