Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7646559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:14:27+00:00 2026-05-31T10:14:27+00:00

I am using the built in field manager from RIM. (SDK 7.0) Yet the

  • 0

I am using the built in field manager from RIM. (SDK 7.0)

Yet the effects are shocking. The layout is dreadful, and Ive no idea how to customise it.
You can see the difference to my app against facebook app. Did they use the built in stuff, if so how? and if not how do I do similar?

How would I go about making my forms look so much better. Ive tried modifying the Styles parameter in many ways.

enter image description here

Current code:

    final BasicEditField UserID = new BasicEditField( "User ID:", "example");
    final BasicEditField UserName = new BasicEditField( "Username:", "");
    final BasicEditField Password = new PasswordEditField( "Password:", "example" );

    VerticalFieldManager loginFields = new VerticalFieldManager(FIELD_HCENTER |FIELD_VCENTER );
    loginFields.add( UserID ); 
    loginFields.add( UserName ); 
    loginFields.add( Password ); 

    ButtonField Login = new ButtonField( "Login", ButtonField.CONSUME_CLICK | ButtonField.FIELD_HCENTER );
    loginFields.add( Login );
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:14:28+00:00Added an answer on May 31, 2026 at 10:14 am

    you can use the following code as starting point to create a fancy login screen:

    public loginScreen() {
    
        super(MainScreen.VERTICAL_SCROLL | MainScreen.VERTICAL_SCROLLBAR);
    
        vMgr = (VerticalFieldManager)getMainManager();
    
        XYEdges mgrThickPadding = new XYEdges(4, 4, 4, 4);
        Border mgrRoundedBorder = BorderFactory.createRoundedBorder(mgrThickPadding, Border.STYLE_SOLID);
        Background bg = BackgroundFactory.createSolidBackground(Color.LIGHTSTEELBLUE);
        vMgr.setBackground(bg);
        vMgr.setBorder(mgrRoundedBorder);
    
        setTitle("Login Screen");
    
        XYEdges thickPadding = new XYEdges(4, 4, 4, 4);
        Border roundedBorder = BorderFactory.createRoundedBorder(thickPadding, Border.STYLE_SOLID);
    
        Background solidBackground = BackgroundFactory.createSolidBackground(Color.LIGHTGRAY);
        this.setBackground(solidBackground);
    
    
        usernameFld = new EditField("Username: ","", 20, BasicEditField.NO_NEWLINE);
        usernameFld.setBorder(roundedBorder);
        usernameFld.setBackground(solidBackground);
    
        passwordFld = new PasswordEditField("Password: ","", 20, 0); 
        passwordFld.setBorder(roundedBorder);
        passwordFld.setBackground(solidBackground);
    
        FieldChangeListener listener = new FieldChangeListener() {
    
            public void fieldChanged(Field field, int context) {
                ButtonField buttonField = (ButtonField) field;
                System.out.println("Button pressed: " + buttonField.getLabel());
    
                if (field == loginBtn)
                {
                    // Do Login actions
                }
            }
        };
    
        loginBtn.setMinimalWidth(200);
        loginBtn.setChangeListener(listener);
    
        vMgr.add(usernameFld);
        vMgr.add(passwordFld);           
        vMgr.add(loginBtn);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

XCode 3.1.2 using built-in OCTest unit testing. I'm getting a crash when unit tests
I am using built in Drupal 6 user module, fore user registration, forgot-your-password-emails and
How do I do the following using built-in modules only? I have a list
Using the built-in Address Book framework for iPhone, how can I save a specific
I'm using the built-in SpellCheck for the WPF RichTextBox and would like to ignore
I'm using the built-in Domain Catalog database to list all the databases on a
Is anyone using the built-in code generation provided via text templates (using .tt files)?
I'm using the built in web server in Visual Studio to test some pags
My website is built using php files. I use trade secret algorithms in these
I'm using the built-in Java XML Transformer to serialize an XML document into text.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.