Rounded edges to a text field

Hi,
Does anyone know how do I make the edges of a text field to be roundod?
Also, I need to change the look of a scroll bar.
Should I use a L& F for that?
Thanks.

Does anyone know how do I make the edges of a text field to be roundod?This is not easy as far as I know.
Also, I need to change the look of a scroll bar.
Should I use a L& F for that?Yes, this is recommended. You can find many free and very good L&F's and some of them can have rounded edges of Textfields.
One of the best L&F freely available is [Substance L&F|https://substance.dev.java.net/]. Try it out.
Thanks!

Similar Messages

  • Text jumps after embedding font in dynamic text field!

    Hi
    this is driving me mad
    Im using a standard font (Gotham rounded) within a dynamic text field. As soon as I embed the numerals within this text field the text lowers within the text field.  Double clicking the field then renders the text higher up!  It seems that the height it shows when I double click is the height it compiles at.
    The other strange and annoying thing is that my colleague working on the same project is using the exact same font and same file but this doesnt happen to him and so the font redners out differently when he compiles!
    Could anybody please help me sort this problem out as its reeeeally annoying
    many thanks!
    Nick

    nobody any ideas?!

  • How can I program the text fields in my email forum to have rounded corners

    How can I program the text fields in my email forum to have rounded off edges or corners. 
    this is the code im using.
    // insert code here// insert code here// prepare email field
    var email = sym.$("email")
    email.html("Enter your Email: ");
    inputEmail = $('<input />').attr({'type':'text', 'value':'', 'id':'email'});
    inputEmail .css ('font-size', 14);
    inputEmail .css ('width', 350);
    inputEmail .css ('background-color', '#4e4e4e');
    inputEmail .appendTo(email);
    // prepare topic field
    var topic = sym.$("topic");
    topic.html("Topic: ");
    inputTopic = $('<input />').attr({'type':'text', 'value':'', 'id':'topic'});
    inputTopic .css ('font-size', 14);
    inputTopic .css ('width', 350);
    inputTopic .css ('background-color', '#4e4e4e');
    inputTopic .appendTo(topic);
    // prepare message field
    var message = sym.$("message");
    message.html("Message: ");
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});
    inputMessage .css ('font-family',"Arial,Helvtica,sans-serif");
    inputMessage .css ('color',"#ffffff");
    inputMessage .css ('font-size', 14);
    inputMessage .css ('background-color', '#4e4e4e');
    inputMessage .css ('box-shadow', '#4e4e4e');
    inputMessage .css ('width', 350);
    inputMessage .css ('height', 150);
    inputMessage .appendTo(message);
    var submitBtn = sym.$("btn");
    submitBtn.html("Submit");
    submitBtn.css("text-align", "center");
    submitBtn.css("font-size",14);
    submitBtn.css("font-weight","bold");
    submitBtn.css("color","#ffffff");

    Try this: inputEmail.css ('border-radius', '25px');
    attachment
    more details

  • Text fields in Print Module

    I was really hoping to see the ability to add text fields in the Print module.  In my work, I frequently need to add captions or titles to the prints.  At the moment, I have to round trip to Photoshop to make this happen.  I also make folios (see Brooks Jensen) where that require such captions.  Thanks.

    I could see that being useful too.  As it may not make the final release, and we wouldn't want the request to get lost in beta land, might I suggest adding it as a suggestion on the Feature Request forum http://feedback.photoshop.com/photoshop_family where it can easily be tracked?  If you post the link to your request here, others can also vote on your request.  If you search there, you may even find similar requests that you might like to add your vote to.

  • Radio button to text field

    Hi there,
    I have a (probably) easy question to answer for a programming newbie.
    I have a radio button - it says are you left or right handed - so two options: left and right - I have also changed their values from 0 and 1 to left and right. I've called the object name: 'handed' and set it to global data
    On another part of the form I would like an uneditable text field that says: this person is ... handed
    ...so in other words there's a gap where I want the text to say 'left' or 'right' - I've also given this field the name 'handed'.
    It almost works, but instead of showing the name I get the value (ie. 0 or 1) - can anyone help me to change the value into the text?
    Many thanks,
    Sunil
    I'm using ES4 by the way.

    Hi again,
    well, I don't know what I did wrong before, but this time round I changed the values from 0 and 1 to right and left and lo and behold it worked - so didn't need to resort to coding for this one.
    However, before doing that I tried what you said above but couldn't get it to work - am I missing syntax here - not sure. Also, wasn't sure when the calculate event would happen. Ie. is it instantaneous with when the user clicks on the radio button to make the selection, or does the event need to be triggered somehow - eg. using a button on click etc.?
    Thanks for your help though - much appreciated.
    Sunil

  • Sum the values of a text field in a tabular form using JavaScript

    Hi Folks.
    OK, I put my hands up. I don't know Java script but I'm picking up the basics and I WANT to learn.
    Here's my situation.
    I have a tabular form which has lots of Standard Report Columns and ONE text field.
    I want to sum the values entered in the text field, real time, using Java Script without the need to have a round trip to the database.
    I'm guessing this will involve some kind of loop. Once I have that SUM figure I will store it in a hidden item and it will be used for validation when the user submits the form.
    If anyone can give me a simple Java Script to do this, or point me in the direction of one, I'd be very grateful.
    Many thanks.
    Dogfighter.

    Hi Arie.
    Thanks for the link.
    That's a great start,
    What I've got working so far is the following...
    <script type="text/javascript">
    function f_calculate_delta(p_this,p_rownum)
    var amt = $x(p_this).value;
    alert (amt);
    var display_item_to_set = 'f08_'+ p_rownum
    $x(display_item_to_set).innerHTML = amt
    </script>
    This is working fine.
    Where I'm stuck at the moment is how I can 'get' the value of another cell in the same row. They have all been set up using the APEX_ITEM API with their own unique IDs.
    I will continue looking but if you could give me a steer, that would be great.
    Many thanks
    Simon
    PS. APEX 3.1
    PPS. Trying to get the value of another row using...
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $x(display_item_to_get).value
    PPPS. Also tried...
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $v(display_item_to_get)
    and
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $v(display_item_to_get).value
    None of which are working at the moment.
    Message was edited by:
    Dogfighter

  • Special Characters in Long Text Field of FI Documents

    Hi,
    Users entered the following in the long text field of a FI document:
    "Settlement of claims for direct shipment (Refer to XXX/YY-053/2009, XXX/YY-018/2009, XX2120000031 and X2120000033)"
    The default editor used is the one which looks like the MS Word.
    When we changd to the other editor (Goto > Change Editor), we see the following:
    "Settlement of claims for direct shipment to Thailand (Refer to"
    "XXX/YY-053/2009<(>,<)> XXX/YY-018/2009, XX2120000031 and X2120000033)"
    How did "<(>,<)> " comes about?
    Any ideas?

    I'd probably use a regex of "allowed" characters rather than a list of "disallowed" characters, but thats just a difference in approach.
    I would probably use a regular expression - alphanumeric is fairly easy to check
    String value = request.getParameter("enteredField");
    boolean alphaNumericOnly = value.matches("\\w+");As a matter of being nice to the user, you can also do this check in javascript on the client side.
    ALWAYS validate server side.
    Optionally validate client side to give the user a better experience (less round trip requests)
    Cheers,
    evnafets

  • Paste is only pasting a text field instead of an image copied to the clipboard from another program like mail or safari?

    The latest version of Keynote only pastes a blank text field after copying an image to the clipboard in other applications like mail or Safari.  The previous version worked fine with copying and pasting images.  Saving the image to a file and then inserting the image file is the only work-a-round I have found so far.

    To place an image on a slide, use Finder to drag and drop the file onto the slide.

  • AS3: Text field boundaries

    I have 2 dynamic textfields (elderText, youngText) that I added a vertical scroll bar to and it works great.
    When I add and remove the text fields a few times (runtime) the line breaking of the textfields changes and the scrolling becomes horizontal (the textfield, not the scroll bar).
    I want to make sure the text will break properly and will not cross the field horizontal boundaries at all!!
    The problem started after I added the scroll bar:
    var bounds:Rectangle = new Rectangle(scrollMC.x, scrollMC.y, 0, 225);
    var scrolling:Boolean = false;
    function startScroll (e:Event):void {
        scrolling = true;
        scrollMC.startDrag (false,bounds); 
    function stopScroll (e:Event):void {
        scrolling = false;
        scrollMC.stopDrag ();
    scrollMC.addEventListener (MouseEvent.MOUSE_DOWN, startScroll);
    stage.addEventListener (MouseEvent.MOUSE_UP, stopScroll);
    scrollMC.addEventListener(Event.ENTER_FRAME, enterHandler);
    function enterHandler (e:Event = null):void {
        if (scrolling == true) {
            if (Boolean(getChildByName('elderText'))){
                elderText.scrollV = Math.round(((scrollMC.y - bounds.y)/225)*elderText.maxScrollV);
            if (Boolean(getChildByName('youngText'))){
                youngText.scrollV = Math.round(((scrollMC.y - bounds.y)/225)*youngText.maxScrollV);

    elderText.wordWrap = true;
    youngText.wordWrap = true;
    I added these lines and it solved the problem.
    Can I check if the text field is big enough to contain the whole text?
    In other words can I check if scroll bar is needed or not?
    Thanks for the help.

  • Acrobat Text Fields

    Does anyone know how to change the inside margins of a text field so there is no space between the text and the edges of the field?

    There's no such property in Acrobat. You can try to adjust the size of the
    box and the font size manually.

  • Rounded Edges for submenu items

    I have a vertical menu with a submenu. The top level buttons have rounded edges. I cannot get the submenu buttons to show rounded edges. The submenu buttons have the color/text/state modifications working fine. It is the rounded edges I am having trouble getting to work.
    User error or bug?
    Thanks
    Jim

    Hi Jim
    This should work but make sure while rounding the corner , Sub Menu Item is selected not the sub menu.
    Thanks,
    Sanjit

  • How to provide text formatting options to user from a text field

    Hi,
    My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like
    Headers
    indentations
    bold/italic
    bullet points and numbers
    Once user enters the formatted texts in a text field, data needs to be displayed/printed in the same format. Could you help me on how to provide these formatting options to the user for a particular text field?
    I understand that once I define the text field with format XHTML (with RTF), user formatting can be captured and displayed in the same way. But I am not sure on how to provide the formatting options for the text field.
    Thank you,
    Madhu

    Hi,
    if you select a text field for Rich Text and the press Ctrl + E you'll get a bar for all available text formatting options in Acrobat/Reader.

  • Wrap a single word in a text field

    Hello everyone!
    I currently have a problem with text data that is displayed in a Flex text field <mx:Text>.
    It's a narrow textfield (100px wide) in a animated ad banner that displays content from a database. There are some words that are too long for the available space, so flash wraps some letters to the next line. I have attached a screenshot that shows the actual problem.
    The text is shown in a Java web-application as well, and since that Java app is displayed as a normale webpage, there is a lot more space for the text. I cannot put hyphens into the text because it would look weird in the normal web view.
    Is there a way to make automatic hyphenation happening when Flash wraps a single word?
    It would be perfect to get language-specific correct hyphenation, but a hyphen at the wrong spot is still better than no hyphen at all.
    Thanks for your time and help!

    I think your simplest bet would be to use mx:label and use the op
    tion truncateToFit="true". Also adjust the width so that the text appears prope
    rly. Hope this helps..!!

  • Sales order CARRIER TEXT field

    Hi,
    I am creating query through SQVI, I would like to use sales order carrier text field with the query.please advice which table and field should I use for query ?
    Thanks in advance

    Sorry, by mistake I posted the message again.
    Pls ignore it.
    Hi JK,
    Where are u entering the sales order carrier data. Is it Header Data or Item Data. Is it a long text?
    Please give more details.
    Regards,
    Vinod

  • Change the font color of a text field in a table by key-combination

    I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
    I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
    I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
    Many thanks for your help in advance.
    Marcel

    Hi,
    I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off).  You also might have trouble updating the color while you still have focus on it.  You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
    if (xfa.event.shift)
        switch (xfa.event.change)
            case "R":
                this.fontColor = "255,0,0";
                break;
            case "O":
                this.fontColor = "255,102,0";
                break;
            case "G":
                this.fontColor = "0,255,0";
                break;
        xfa.event.change = ""; // ignore character
    If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line.  But again it wont take effect until you have tabbed out of the field.
    Regards
    Bruce

Maybe you are looking for

  • Broken display, Presario CQ60-211DX

    My kid walked away from the computer with the power cord wrapped around his leg. The computer fell off the table and the screen hit the edge of a wooden chair on the way to the floor. Now it looks like a broken window (a jagged line across the screen

  • Struts plus Hibernate

    I try integrate Struts and Hibernate. I create a simple blank project... You can download it from http://rapidshare.com/files/49730760/StrutsPlusHibernate.zip.html ( 20 KB you should add lib) . When I start Tomcat 5.5 I have an exeptions : SEVERE: Er

  • Screen Too Big

    I plug in my iPod Nano, load up iTunes, and click on IPOD under Devices. Since I bought my iPod earlier today, this is the first time I've used it. I click Register Later, and the agreement screen appears. I scroll to the bottom, but... I can only se

  • Updates to Original iphone

    I have noticed in the last few months, that when I go to update my original iphone it says that it is all ready updated. I use to get updates all the time. Has Apple stopped updating the original iphone? I know that it's pretty much impossible to get

  • Notified Verizon of International Travel & The Fraud Dept Suspends My Service for One International Call

    I called Verizon to notify them that I would be out of the country traveling to Portugal and Spain.  Based on the customer service representative's advice, I added international calling to my plan.  While in Spain, I called my daughter.  My phone sto