How to put corners rounded in a field?

I want to put rounded corners of a ListField, so I tried this:

this.setBorder(BorderFactory.createRoundedBorder(new XYEdges(1,1,1,1), Color.GRAY, Border.STYLE_SOLID));

and it don't work the way I want to, it shows only a square corners, someone knows what is happing, what I did wrong?

Thank you...

1 pixel is perhaps too small amout of padding.

Try to make an instance of XYEdges with larger values, for example: (5,5,5,5)

Tags: BlackBerry Developers

Similar Questions

  • Put corners rounded on an instance of WebcamSubscriber

    Is it possible to put corners rounded on an instance of WebcamSubscriber.

    Thank you.

    Of course, you can just apply a mask on top of the component to round off the

    corners.

    Nigel

  • How to put mod_tuxedo authentication to connect field of Tuxedo?

    Hello

    I'm trying to connect apache with mod_tuxedo to the 12cR2 with USER_AUTH Tuxedo domain. But all http requests does not tpninit error 8 in the apache log and in the journal of smoking are the password application error message.

    When I put no security side tuxedo, http calls are OK.

    Apache has basic auth with the file provider. I tried Smoking tpusr file and the file passwd apache with the same users and passwd - apache authenticate.

    How can I configure apache/mod_tuxedo connect field with USER_AUTH Tuxedo?

    I can't find documentation.

    Apache config - part

    < location ' / CSMW/WS / ">".

    User need valid

    Order allow, deny

    Satisfy all

    AuthType basic

    AuthName "Tuxedo WS.

    AuthBasicProvider file

    # AuthUserFile/srv/app/at1/mw/httpd/conf/passwd/passwords

    AuthUserFile/app/mw/tux/at1/tpusr

    < IfModule mod_tuxedo.c >

    SetHandler Tuxedo-script

    Tuxconfig "/ app/mw/tux/at1/conf/TUXCONFIG.

    TuxService ENTRYSOAP

    < / IfModule >

    < / location >

    Part of Tuxedo config

    * RESOURCES

    IPCKEY 160002

    NETWORKID TuxAT1

    MASTER TuxA, TuxB

    MAXGTT 5000

    MAXACCESSERS 8000

    MAXSERVERS 6000

    MAXSERVICES 14000

    MAXGROUPS 190

    MAXDRT 600

    MAXRFT 4

    MAXRTDATA 2000

    MODEL MP

    LDBAL Y

    PERM 0666

    USER_AUTH SECURITY

    LAN OPTIONS, MIGRATE

    DBBLFAILOVER 2


    ......



    AUTHSVR SRVID = 1000 SRVGRP = MAIN1 SEQUENCE = 95


    ......


    DEFAULT: SRVGRP = ESP1 MIN = 6 MAX = 10 CLOPT = "-o /app_log/mw/tux/at1/stdout.entrysoap EI /app_log/mw/tux/at1/stderr.entrysoap s TP_REQ1:SERVER - C conf/middleware.env s ENTRYSOAP" SEQUENCE = 33

    entrysoap = 6800 RQADDR SRVID = SOAPA01

    ......

    Apache config



    Log Apache

    [Game 28 mai 12:39: 05 2015] [error] mod_tuxedo: don't tpinit/app/mw/tux/at1/conf/TUXCONFIG: 8

    [Game 28 mai 12:40: 11 2015] [error] mod_tuxedo: don't tpinit/app/mw/tux/at1/conf/TUXCONFIG: 8

    [Game 28 mai 12:57: 41 2015] [error] mod_tuxedo: don't tpinit/app/mw/tux/at1/conf/TUXCONFIG: 8

    Journal of smoking


    125741.ttux1! httpd.5406.896858080.1: LIBTUX_CAT:6244: ERROR: Application password does not match

    125741.ttux1! httpd.5406.896858080.1: LIBTUX_CAT:6247: ERROR: could not establish the security context. Error code 60, minor_status 4294967289

    125741.ttux1! httpd.5406.896858080.1: LIBTUX_CAT:6234: ERROR: authentication fails with error 70

    Kind regards

    Michal Fürst

    Hi Michal,

    It is an ovesight in the implementation of mod_tuxedo.  If you need mod_tuxedo to run a tpinit() with the credentials of the user to a secure USER_AUTH area, please fill out a bug with My Oracle Support.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • How to change the color of form fields

    I don't know how to change the color of form fields. They default to gray, but I don't know how to make a different color.

    Gray does not match the color scheme of my landing page!

    Thank you!

    I think you have two options when you are working on a landing page with an embedded format:

    • You can change the background color of the entire form field set by selecting the shape, and then clicking on the Toolbox. In the window that opens go to the second (on a paint brush icon) and select the background color you want.
    • You can change the background color of the actual fields in the form by adding CSS styles. Select the Toolbox, go to the last tab (Tools Extract page) and in the middle of this window, you will see "head | CSS | JS"- select this average CSS tab and enter the style code to get the color you want. Here is an example of code you can put in it. Note that #000000 is the color code for black. Here is more information about the code: css - background in the input fields and text color? - stack overflow

  • Can't subtract a Rectangles with corners rounded on the other with Pathfinder

    This issue is driving me crazy! I try to subtract a shape with corners rounded on the other and cannot operate correctly. A few notes:

    • I put the corners rounded with corner radius handle, not the effect
    • I don't have the ability to break down the appearance or form, and the expansion does not seem to do anything
    • The following are screenshots of the process:

    Screen Shot 2015-05-26 at 9.47.17 AM.png

    Screen Shot 2015-05-26 at 9.47.22 AM.png

    Would appreciate certainly any help you can offer.

    Chris

    Well, your rectangles are perfectly aligned. Who will never give any valid intersection for simple mathematical reasons - a normal vector with a length of 1 subtract a vector of the same length is finally equal to zero. One of the rectangles must be smaller or bigger, if not a little.

    Mylenium

  • How to set the alignment of the field in a table in jdev 11.1.2.3?

    Hello
    How to set the alignment of the field in a table in jdev 11.1.2.3?
    for example: to display a body of numbers in a table as right aligned.
    I tried to put field (amount) VO UI Hint Format Type: Number; Format: 0000.00
    and jspx, flowing, but it doesnot work.
    Thank you.
    Bao

    < af:column sortProperty = "#{bindings." VO1.hints.amount.name}.
    sortable = "true".
    headerText = "#{bindings." VO1.hints.amount.label}.
    ID = "c44" width = "60".
    Align = "center" >
    < af:inputText value = "#{row.bindings.Amount.inputValue} '"
    label = "#{bindings." VO1.hints.amount.label}.
    required = "#{bindings." VO1.hints.amount.mandatory}.
    columns = "#{bindings." VO1.hints.amount.DisplayWidth}.
    maximumLength = "#{bindings." VO1.hints.amount.precision}.
    shortDesc = "#{bindings." VO1.hints.amount.ToolTip}.
    ID = "it58.
    secret = "false".
    inlineStyle = "" text-decoration: overline; ">"
    < f: validator binding="#{row.bindings.Amount.validator}"/ >
    < / af:inputText >
    < / af:column >

    Hello
    To set a field right alignment in a table:
    It doesnot work when InlineStyle-> text-align: right;
    It works when ContentStyle-> text-align: right;

  • How to put a CustomField on a data store?

    Hi all

    I tried:

    Get-myDS data store | game-customfield-myName-name-value myValue

    but no luck.

    I also note:

    $myDS = get-myDS data store

    $myDS.extensiondata

    There is a field called:

    "CustomValue.

    How to fill this extensiondata. CustomValue field?

    Even if I can't put a customfield via whole-customfield, is there a solution or a hack to store a value for a data store?

    concerning

    marc0

    I'm afraid that the New-CustomField and New-CustomAttribute in the current construction of PowerCLI don't support data warehouses.

    But you can use the CustomFieldManager to manage the fields custom data warehouses.

    First get the CustomFieldManager object.

    $cfMgr = get-view customfieldsmanager

    To create a new field, you can make

    $cfMgr.AddCustomFieldDef ("Test", "Datastore", $null, $null)

    This method returns the CustomField object. It is important to store this somewhere, because you will need the Key property in the following methods.

    You can also get this key by enumerating the fields available for any data store

    PS C:\ > $ds = Get - Datastore - name MyDS

    PS C:\ > $ds. ExtensionData.AvailableField

    Key: 591
    Name: Test
    Type: string
    ManagedObjectType: data store
    FieldDefPrivileges:
    FieldInstancePrivileges:
    DynamicType:

    To assign a value to the new field

    $cfMgr.SetField($ds.) Extensiondata.MoRef, 591, "A value") "

    To retrieve the value of the custom field

    $ds. ExtensionData.CustomValue | where {$_.} Key - eq 591}

    DynamicType DynamicProperty key value
    -----                                          --- -----------              ---------------
    A value                                        591

    Note that these custom fields of the data store are not visible in the vSphere client!

  • How can I insert hyperlinks in text fields?

    Hello, I create documents pdf using Livecycle Designer for an organization, and recently I had a request for a document that includes expandable text fields.  The user also wants to put hyperlinks in these text fields.  I did the form and tried to put links in the text fields (using Adobe Acrobat Pro 9.5), but the form operation stops and I can't click on anything else (even if the cursor changes) or do something else that remove the information I entered and/or close the document.

    Does anyone know how to create a form in Livecycle Designer, which will allow the customer to insert hyperlinks in a text field that expands too?

    Is not possible.

  • a rectangle of icon eg 512x512px asks and I want to apply corners rounded with transparent backgro

    If I have an android image, a rectangle of icon eg 512x512px mobi Application and I want to apply corners rounded with transparent background... How...? What tool easy-to-use PS, I, FW... or...? I use cs6 cloud

    Post edited by: lsepolis123

    Photoshop is perfect for that. Here's a short and sweet great video tutorial that will show you how to get the desired results. It starts around the mark 25 seconds.

    I hope it's useful!

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to put the button submit as Checked

    Hello

    I need to adjust my login button submit as Checked. for the HTML input tag we have checked attribute, but in our jspx for command button how to put this button that checked.

    Someone can help me.

    you mean enter button don't call action?

    Move your af:form from the top of the jsf to your input fields all about; defaultCommand here is your id of the button.





  • How to put an impulse on a guitar track?

    Hello!

    Logic Pro 10.2.2. I remember in earlier versions of the logic, you can simply move WAV file pulse to the designer of the space.

    But now it doesn't work at all, so the question is how to put a pulse of WAV ready (ready) on the guitar track?

    Thanks before!

    You use the context menu in the user interface:

    Or you can open the IR utility, drag it there, make some changes (denoising, for example) and create SpaceDesigner setting. Then, it appears in the menu presets.

    Best,

    DaCaptain

  • How to put bookmarks in the left side of the screen forever?

    I use every night, 64-bit laptop.
    How to put bookmarks in the left side of the screen for good to keep them here? I couldn't believe how you hide this option. Other browsers requires a simple click.
    THX

    To open or close the bookmarks bar, do one of the following:

    • CTRL + B
    • tap the ALT key, the Menu Bar temporarily displays, click on view > sidebar > bookmarks
    • Hold DOWN the ALT key while pressing the VEB keyboard letters

    If the bookmark sidebar is open when you exit Firefox (Firefox button > output OR file > exit), it should be there when you restart Firefox.

    Also see-> https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • How to put 2 A5 flyers on a page A4 Pages

    How to put 2 A5 flyers on a page A4 in Pages? On iMac

    Hi Billy,

    5.6.1 the pages.

    If your flyer is in a text box, resize the box to fit a half page A4. Copy, paste, and then drag the copy down half of the A4 page.

    Alignment guides can help (Menu > Pages > Pages Preferences > leaders):

    Also Menu > view > show rules.

    You can drag a Guide of alignment (orange line in the following screen shot) of the horizontal rule (not to print the Guides).

    Menu > View > Show presentation in order to see the page margins and the header and footer.

    50% of the zoom for a small screenshot.

    File > Menu > print... to confirm the layout

    Kind regards

    Ian.

    Edit: You can drag a Guide to align the horizontal rule (orange line in the following screenshot).

  • How to put in place measures in the application of health?

    How to put in place measures in the application of health?

    What do you mean 'the configuration steps? If you want steps if poster on the health dashboard, tap on health at the bottom of the screen data. Tap fitness. Tap measures. The value "Show on dashboard" on.

    The health app is really more than one application storage and synchronization. You can't do things as targets for a particular metric. If you want to set a goal of step and follow it, use one of the many followed apps available that can extract data from health. Map My Fitness, My Fitness Pal, Jawbone UP and Fitbit (both can be used with the phone if you have an iPhone 5 or a later version). If you like to compete with others, the Club activities is fun.

Maybe you are looking for

  • iMovie does not open Costco DVD VHS movies converted

    iMovie for Mac does not open Costco DVD converts VHS movies at home. I don't know that I was able to do what a few years with an older version of iMovie. There is a limitation with iMovie? DVD of Costco is just a bunch of old family VHS home movies.

  • Re: Satellite A210 - what improvements are possible

    Hello I have already put more RAM in my laptop and want to put a disk faster and longer in there, but what can I do else?Can I update graphics and CPU? Wireless card? Or put in bluetooth? Also, I want to put in a PCI tv tuner

  • write to measure file vi bug?

    Hello. Looks like I might not be the first with this.  I suspect... http://forums.NI.com/NI/board/message?board.ID=170&message.ID=234485&query.ID=1018110#M234485 I still after that I don't know how many hours days etc., failed to do this work.   I ha

  • Calling DLLS in LabVIEW

    Hello Below is the code written in LabWindows in which dynamically access a Dll using Windows API LoadLibrary(), GetProcAddress(), and FreeLibrary(). Successfully, I could load the library and get the procedure address using library calls node in Lab

  • \3\LXCRtime.dll starting problem

    When I start a message box saying returns the file \3\LXCRtime.dll & recently something happened where all my shortcuts & photos on picassa has wiped. can you help me please?