Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 144
Registered: ‎12-20-2008
My Device: Not Specified
Accepted Solution

Trying to use PasswordPopupScreen

i have in the menu main app

  private MenuItem _Password = new MenuItem("Contraseña" , 105, 10)
    {
       
        public void run()
        {
       PasswordPopupScreen pwdScreen = new PasswordPopupScreen();      
       pushScreen(pwdScreen);          

                 
        }
    };

 

and the PasswordPopupScree.java in the project when i buid it gives following error

 

C:\Archivos de programa\Research In Motion\BlackBerry JDE 4.7.0\samples\com\rim\samples\device\Soler\HTTPDemo.java:101: cannot find symbol
symbol: class PasswordPopupScreen
       PasswordPopupScreen pwdScreen = new PasswordPopupScreen();       
                                        this arrow here  ^

 

new to java thanks in advance

Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Trying to use PasswordPopupScreen

Check is you PasswordPopupScreen is same as PasswordPopupScreen.java file name.

 

Check is package name specified proeprly.

 

Tnx.


Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 144
Registered: ‎12-20-2008
My Device: Not Specified

Re: Trying to use PasswordPopupScreen

Solved i fail to add the header in PasswordPopup.java

package com.rim.samples.device.ElRecreo;it works fine