How create EtchedBorder with round corner?

Hi,
does anybody have an idea, how to create an EtchedBorder (for a JPanel) with round corners?
Thx.
Hans

did you check the source of the EtchedBorder ?
you can create an round button that paints the same
just .. with round corners
here an example for RoundBorder
http://examples.oreilly.com/jswing2/code/ch13/CurvedBorder.java

Similar Messages

  • How create header with user id time date to VC-report's output as display ?

    How create header with user id time date to VC-report's output as display ?
    This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)

    Hi ann-mari
    Go through following link may it help u
    Form Item disabled based on portal role
    /people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    Best Regards
    ````Satish````

  • Web Overlay with rounded corner

    Hello,
    I would like to embed a YouTube video in my iPad app via the web overlay panel (is that even still possible since iOS8???).
    The editorial design guideline requires the left bottom corner of the video to be rounded, the other corners are normal. Please see this picture for reference:
    I tried several workarounds but nothing worked. Can somebody please tell me how I can play a Youtube video in the app (outside of the In-App Browser!) with that dolphin poster picture and the video playing inside the rounded-corner-frame?

    Thanks Bob, that works great. I've heard somewhere that embedding Youtube videos does not work anymore with iOS8. Is that true?
    Also, do you know an answer to this question (as it has been unanswered for a while): image sequence: pixelation of placeholder image

  • Create shape with round and square corners

    Hi all
    I haven't used illustrator for a while so I'm really stuck on soemthing that should be simple.
    I want to create a shape that has round corners on the bottom and square cormers at the top.
    I have created two shapes, one with round corners and one with square one.
    I was hoping to put them together then use the pathfinder to unite them but this then make the round corner square.
    Is it possible to unite shapes with different corners.

    myttmt,
    Or create a rounded rectangle that is one corner radius too high, press C (Scissors Tool) and cut at the top of the straight sides (first right then left), press V to switch to the Selection Tool and delete the selected top cut, then select the remaining part and Ctrl/Cmd+J to join.
    The bottom rounded rectangle thread lives. Or is it the tanker cross section thread?

  • How create report with data from table and some columns results function ?

    Hi,
    How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
    for example , I want to create a report like that:
    device last_date error_msg stop/start
    kodak1 06/04/08 null >>
    kodak2 08/03/08 good msg --^--
    kodak3 08/04/08 err msg >>
    3 rows returned
    where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)

    Thomas,
    There is no problem here -- this is fully suported scenario.
    1. Bind Table dataSource to Customers node.
    2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
    Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Trouble With Rounded Corner Divs

    Hi. This is the code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">.products_page_container {width:48%; background-color:#FFCCFF; margin-bottom:20px; }
    #main .products_page_container p {color:#000000; padding:20px}
    .float_left {float:left;}
    .products_page_container .tl {background:url(images/ProductsContainerTL.gif) no-repeat top left; }
    .products_page_container .tr {background:url(images/ProductsContainerTR.gif) no-repeat top right; }
    .products_page_container .bl {background:url(images/ProductsContainerBL.gif) no-repeat bottom left; }
    .products_page_container .br {background:url(images/ProductsContainerBR.gif) no-repeat bottom right; }</style>
    </head>
    <body>
    <div class="products_page_container float_left ">
    <div class="tr">
    <div class="tl">
    <div class="br">
    <div class="bl">
            <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis <strong>autem vel eum</strong> iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Lorem ipsum dolor sit amet, consectetuer adipiscing elit, <strong>sed diam nonummy nibh euismod tincidunt</strong> ut laoreet dolore magna aliquam erat volutpat. </p>
      </div>  </div></div></div></div>    
    </body>
    the rounded corners appear inside the div as if theres some sort of top and bottom padding. If i remove p tags the rounded corner box works...but then there are paragraph tags for my text. am I missing something here? Thanks.
    also i should add that I have removed padding from p but still rounded corners appear inside div with background appearing above and below.

    Hi
    Try moving the divs for the rounded corners outside your product div.
    An alternative solution would be to use the propriety browser rounded corners for FF and Safari and the jQuery rounded corners for IE.
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    PZ

  • How create page with two frame (google geocoding BSP)

    Hi all,
    can someone suggest me how create an BSP application with the main page composed by two frae?
    I've create a page with tags <htmlb> gridLayout for ape the frame structure and the result is fine.
    here the screenshot of what i've done:  http://img17.imageshack.us/img17/3558/bspgeolocalization.jpg
    But now i've to call the right page frame ( obviously in his frame) from the left page controller after pressing the 'search button'
    and passing to it a table.
    someone has an idea?
    Thanks in advance,
    Davide

    checkt his thread
    Web template keep loading/refreshing in BSP
    though the question is for different purpose, you can find the code for framed pages there

  • How create water with specially good effect

    hi everyone,
    I want create a river or a lakes .
    how can I create water with some specially good effect in shockwave.like Wave,Reflection etc
    unity3d may do it easily,Look this water effect from unity3d

    Someone tell me "rendertotexture" can do it,
    But I don't know how to do
    I want to learn more on this water effect using Director
    anybody have demo(source file) or Other methods ,please tell me
    thank you.

  • How create table with variable number of columns?

    I am creating table data in Java. Number of columns is variable. How I can write <table> in UIX.
    Here is code of one of my unsuccessful attempt:
    <provider>
    <!- get table data like DataObjectList-->
    <data name="ReportTableData">
    <method class="app.ReportTableData" method="getTableData"/>
    </data>
    <!- get names of columns like DataObjectList-->
    <data name="ColumnNames">
    <method class="app.ReportTableData" method="getColumnNames"/>
    </data>
    </provider>
    <table data:tableData="@ReportTableData">
    <contents data:childData="@ColumnNames">
    <text data:text="nameColumn"/>
    </contents>
    </table>
    I hoped that I can get cell data by key, where key is name of column. But cells of table contain only names of columns.
    Please help me, where I mistaken?
    Thank you.

    Hi Sergey,
    The UIX table implementation relies on a childData like mechanism internally to iterate over the rows. For instance, when you databind the text attribute of the UINode used to stamp out each column, you are relying on the uix:table iterating over the table data using the data object for the current row when evaluating your column stamp.
    Setting the data:childData attribute on the table's contents element conflicts with UIX's internal iteration over the tableData. For this reason, we don't support specifying a dynamic number of table columns in UIX XML.
    This doesn't mean that you can't do it, there are different strategies. If you've got a finite and known set of columns, you can specify each possible column and then databind the rendered attribute of each one to hide and show it as appropriate. Another, often cleaner approach, is to build this subtree of UINodes in Java code.

  • How Create infotypes with both transaction pm01 and ppci

    HI Gurus,
    I need create custem  infotypes by using the pm01 and ppci .
    requirement is  i need to create two custem  infotypes  with subtyeps in personal administration and personal planing .
    1.can any provide step by step in to create the custem infotypes in pm01 and ppci.
    2. how to create sub types also.
    Regards
    Ramesh.
    Thanks in advance

    Steps to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)

  • How Creating CFL with using Usertables? Explain Step by Step..

    Hi all,
             I worked with CFL for existing tables that means ItemMaster,.. it is fine.but I dont know <b>how to create the CFL with using Usertables</b>?. Please anyone explain step by step.
    By,
    Suresh.G

    Hi Suresh,
          Step 1: Please register an object for your table.
          Step 2: Specify the object code you created in the CFL.
    Regards,
    C.Manojkumar

  • SCSM - How create view with all my work itens

    Dear,
    I need to create a view tha displays all work items assigned to me and my group. And I sill need to sorte this queue by the target date calculated by the SLO. Anyone know a solution?
    I've tried to create a query based on SLAInstanceInformation class, but when I click the record the related work item does not open your form. Have also tried to create based on work item class, but your relathionship WorkItemHasSLAInstanceInformation is
    1 to n.
    thank's,
    Juan

    Aaron, Thank's a lot.
    I had never created a custom task. I did the following steps:
    1. I made a dll with the following code and compiled successfully.
    namespace Axter.SLA.Instance.TimeInformation.Tasks
        class OpenTaskHandler : ConsoleCommand
            public override void ExecuteCommand(IList<NavigationModelNodeBase> nodes, NavigationModelNodeTask task, ICollection<string> parameters)
                if (nodes != null && nodes.Count == 1)
                    IDataItem idiDC = (IDataItem)nodes[0];
                    IDataItem idiPWI = (IDataItem)idiDC["WorkItemHasSLAInstanceInformation"];
                    FormUtilities.Instance.PopoutForm(idiPWI);
    2. I built the package and sealed successfully.
    <Category ID="Category.MyPopout.Task" Target="EditWorkItemTask" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.UI.Console.DoubleClickTask" />
    <ConsoleTask ID="EditWorkItemTask" Accessibility="Public" Enabled="true" Target="SLA!System.SLA.Instance.TimeInformation" RequireOutput="false">
            <Assembly>Console!SdkDataAccessAssembly</Assembly>
            <Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
            <Parameters>
              <Argument Name="Assembly">Axter.SLA.Instance.TimeInformation.Tasks</Argument>
              <Argument Name="Type">Axter.SLA.Instance.TimeInformation.Tasks.OpenTaskHandler</Argument>
              <Argument>Edit</Argument>
            </Parameters>
          </ConsoleTask>
    <Resources>
        <Assembly ID="Axter.SLATasks" Accessibility="Public" FileName="Axter.SLA.Instance.TimeInformation.Tasks.dll" HasNullStream="false" QualifiedName="Axter.SLA.Instance.TimeInformation.Tasks, Version=1.0.0.0" />
      </Resources>
    3. I copied all files to a folder on ther server and executed following script in powershell
    import-module -force "C:\Program Files\Microsoft System Center 2012\Service Manager\Powershell\System.Center.Service.Manager.psd1"
    $mpbPath = "Axter.SLA.TypeProjection.mpb"
    $mp2 = "Axter.SLA.TypeProjection.mp"
    $mp1 = "Axter.SLA.TypeProjection.xml"
    $r1 = "Axter.SLA.Instance.TimeInformation.Tasks.dll"
    New-SCSMManagementPackBundle -Name $mpbPath -ManagementPack $mp1, $mp2 -Resource $r1 -Force
    4. Unfortunately i get the following message
    New-SCSMManagementPackBundle : Function failed during execution.
    At line:1 char:1
    + New-SCSMManagementPackBundle -Name $mpbPath -ManagementPack $mp1, $mp2 -Resource ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (Microsoft.Enter...ckBundleCommand:NewSCManagementPackBundleCommand) [New-SCManagementPackBundle], InstallerException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.EnterpriseManagement.Core.Cmdlets.NewSCManagementPackBundleCommand
    Any idea?
    Juan

  • How create documents with "Open" Status

    Hello!
    I create purchase orders in SAP using SDK:
    Set oOPOR = oCompany.GetBusinessObject(SAPbobsCOM.oPurchaseOrders)
    lRetCode = oOPOR.Add
    But all my docs have "close"-status, that is why I can't create following invoices in my system.
    DocumentStatus property of doc-object iis read only.
    Can you help me? What should I do to create "open" docs?
    Thank you!

    Hi Andrey,
    Try This.....
    By using this code creating a purchase order with docstatus=open in my system
      Dim RetVal As Long
            Dim ErrCode As Long
            Dim ErrMsg As String
            Dim oPurchaseOrder As SAPbobsCOM.Documents
            oPurchaseOrder = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
            oPurchaseOrder.CardCode = "V1010"
            oPurchaseOrder.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
            oPurchaseOrder.DocDate = DateTime.Today
            oPurchaseOrder.Lines.ItemCode = "A00002"
            oPurchaseOrder.Lines.UnitPrice = 2.36
            oPurchaseOrder.Lines.Quantity = 50
            oPurchaseOrder.Lines.DiscountPercent = 10
            oPurchaseOrder.Lines.Add()
            oPurchaseOrder.Lines.ItemCode = "A00002"
            oPurchaseOrder.Lines.Quantity = 8
            oPurchaseOrder.Lines.UnitPrice = 5
            oPurchaseOrder.Lines.DiscountPercent = 10
            RetVal = oPurchaseOrder.Add
            If RetVal <> 0 Then
                MsgBox(ErrCode & " " & ErrMsg)
            End If
    Thanks
    Shafi

  • How create CIN with visual C++

    I am trying to generate a CIN for the following example C code (mult.c)
    * CIN source file
    #include "extcode.h"
    CIN MgErr CINRun(float32 *A, float32 *B, float32 *AB);
    CIN MgErr CINRun(float32 *A, float32 *B, float32 *AB) {
    *AB = *A * *B;
    return noErr;
    My makefile is
    name=mult
    type=CIN
    cintoolsdir=C:\Program Files\National Instruments\LabVIEW 6.1\cintools
    !include <$(cintoolsdir)\ntlvsb.mak>
    I'm following the istructions in the LabVIEW Code
    Interface Reference Manual to compile a CIN using visual c++, but when I open the makefile
    whith visual C++ don't showme the messages mentioned in the manual and I can't add the mult.c file.
    I'm using Labview 6.1 and MVC 6.0
    Can anyone help?

    I am not sure what the problem could be. I have followed the steps in "Using External Code in LabVIEW" manual with LV6.1 and VC++6 with success in the past. You can find the manual by opening LabVIEW >> help >> search the LabVIEW bookshelf. This launches a pdf with hyperlinks to all the LabVIEW shipping documents. The manual will be listed there.
    The manual has been updated for 7 so you may want to look for it online for the latest information.

  • How Create Podcast With Chapters?

    i'm new in mac
    i want create podcast like tiesto club life and hardwell on air ,one m4a and multitrack inside it and in itunes chapter menu easy switch between they.
    and want to use garageband,ty.

    i can't understand Version 11???!
    The version naming is very confusing.  GarageBand '11 is called '11 because it is part of the iLife '11 bundle.  But the the program version is GarageBand 6.0.5. The newest version is GarageBand 10.0, the version you are having.
    The problem is, the AppStore will only offer the most recent version to you, unless you already bought the older version. So you cannot buy it from the AppStore. That is why I suggested to buy the boxed version of iLife '11 from a third party, like amazon. That would actually be not a bad bargain. GarageBand '11 has quite a few features, that are no longer supported in GarageBand 10.0, and the iLife '11 package will also include iDVD, so you will have a software to burn video DVSs.
    You can keep both GarageBand versions installed; they do not interfere. Don't delete your current GarageBand 10.0, you may want to use the drummers and arpeggiators.

Maybe you are looking for

  • How to install Photoshop cs3 on my mac?

    How to install recent download of Photoshop cs3 on my mac?

  • 10.3.1 updation interrupted.

    I am using BB Q10. I tried to update to the new OS 10.3.1. I could download the software but this got interrupted at 98% while instalation. Can someone help me to solve it?

  • Creating forms in iWeb

    Hi! I have a business and want to sell products on my website. Does anybody know if I can create forms in iWeb09? For instance, I have a product that you click on and 1 item of it goes to the check in account. Like it works on Apples website when you

  • Hanging Ornaments effects

    Hi, could some, how to make this effect in Motion?. http://vimeo.com/16285916 Thanks

  • Is there an update for ipod touches with a messenger?

    I heard that there was a new update for ipod touches(4th generation) that comes with a messenger that uses your e-mail, is this true? Thanks