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

  • SEARCH
  • Home
  • 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 6141279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:13:48+00:00 2026-05-23T18:13:48+00:00

Below email, user will enter email n below password a user will enter password,

  • 0

enter image description here

Below email, user will enter email n below password a user will enter password, i m able to make square but upper square should be curve in upper side and lower square in lower side.

  • 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-23T18:13:49+00:00Added an answer on May 23, 2026 at 6:13 pm

    Something I made that I think will do what you want. You just have to add them to this Manager. Note that I don’t think I have it compensating for things like margin or padding, so you can either figure that in with the paint() method, or just enclose it in another Manager that has the proper padding/margin:

    public class GroupFieldManager extends VerticalFieldManager {
        private int _rounding;
        private int _bgColor;
        private int _borderColor;
    
        private boolean _divider;
        private int _dividerColor;
    
        public GroupFieldManager(boolean divider, long style) {
            super(style);
            _rounding = 20;
            _bgColor = 0xFFFFFF;
            _borderColor = 0xAAAAAA;
            _divider = divider;
            _dividerColor = 0xAAAAAA;
        }
    
        public GroupFieldManager(boolean divider) {
            this(divider, 0);
        }
    
        public GroupFieldManager() {
            this(false, 0);
        }
    
        /**
         * Sets whether or not to draw a divider
         * @param on
         */
        public void setDivider(boolean on) {
            _divider = on;
        }
    
        /**
         * Sets the color for the divider (also turns divider on)
         * @param color
         */
        public void setDividerColor(int color){
            _dividerColor = color;
            _divider = true;
        }
    
        /**
         * Sets the background color for the grouping
         * @param color
         */
        public void setBackgroundColor(int color) {
            _bgColor = color;
        }
    
        /**
         * Sets the border color for the grouping
         * @param color
         */
        public void setBorderColor(int color) {
            _borderColor = color;
        }
    
        /**
         * Sets the amount of rounding for the border
         * @param rounding
         */
        public void setRounding(int rounding) {
            _rounding = rounding;
        }
    
        protected void paint(Graphics graphics) {
            int oldColor = graphics.getColor();
    
            //draw the background
            graphics.setColor(_bgColor);
            graphics.fillRoundRect(0, 0, getWidth(), getHeight(), _rounding, _rounding);
    
            //draw the border
            graphics.setColor(_borderColor);
            graphics.drawRoundRect(0, 0, getWidth(), getHeight(), _rounding, _rounding);
    
            //draw dividers
            if(_divider) {
                graphics.setColor(_dividerColor);
                int y = 0;
    
                //go through each field, figure it's height, and draw a line under it
                for(int i=0;i<getFieldCount();i++) {
                    if(i != getFieldCount() - 1) {
                        int height = getField(i).getHeight();
                        y += height;
    
                        graphics.drawLine(0, y, getWidth(), y);
                    }
                }
            }
    
            graphics.setColor(oldColor);
            super.paint(graphics);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to send an email using this class below, but no success, no
I have the two tables below. The table jobs will have a user id
EDIT: Apparently I was a little confusing. The original post will remain below, but
After a user adds 5 emails and their name to form below, and then
The code below works great except the email has all the text on one
I am using the program below to sort and eventually print out email messages.
Hi I want to write a java program where I will provide my email
I need to change the default email text that will be sent while creating
I'm trying to create a simple form that will validate that the first password
I have the code below: <html><body> <?php $con = mysql_connect(localhost,will,blahblah); if (!$con) { die('Could

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.