How to add a border for Panel (jdk 1.1) ?

how to add a border for Panel (jdk 1.1) ?

Border's are a Swing feature, you will have to draw one by yourself (extend Panel and override paint()).

Similar Messages

  • HOW TO: Add /manipulate columns for a GridControl

    HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
    This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
    One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
    the desired attributes.
    Here are the basic steps:
    1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
    on the View Object icon.
    2.In the View Object wizard change the name to something meaningful.
    3.Select the entity objects you will base your view object on.
    4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
    a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
    5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
    values.
    6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
    your view object from the list.
    7.Create a new row set.
    8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
    9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
    all of the related attributes are automatically added.
    null

    Michael,
    Are you intending this as a commercial solution or a work around?
    To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
    And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
    So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
    That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
    Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
    null

  • How to add a border around images posted to Facebook?

    I am using LR 4.1, also usis PS CS5.
    Anyone who uses Facebook to showcase image galleries knows that Facebook changes how images are displayed from time to time.  One month it will be on a black background and the next on a white background.  And then they put overlay's on top of your images and they change things around whenever they wish.  There is not rock solid consistency from Facebook on how they display your images across devices or over time.
    What I am trying to do is to add some consistency to how my images are displayed by adding my own border to my images.  I need some ideas on how to best do this.  The way that I have been doing it does not appear to be ideal and I think someone must have a better way.
    Ideally, I would want Lightroom to add a border for me based on some setting under the export manager.  But as far I know there is no setting to do this?  (Why doesn't lightroom have any border options anywhere yet for anything it exports?  This would be relatively simple I think.)
    Here is the only way I know how to solve my issue.
    First, my other considerations:
    I want to keep my original images in my catalog in tact and as is w/o a border and with layers if it is a .psd file.  I do NOT want to destructively add a border to the catalog images, only the images that end up on Facebook.  I also want to add my watermark image to the final image so that it is done as the last step so that the bottom part of my watermark shows my web site address over the white border on the bottom of the image.  Using a droplet and the watermark in the same step does not work properly because it applies the watermark before it runs the action, not after.
    I have created an action to add a x pixel white border by:
    Merging (flatten) all layers
    Creating a new unlocked background "image" layer
    Expanding the canvas by x pixels.
    Creating a new white filled layer and moving it to the bottom of the layer's pallet.
    Adding a 2 pixel black inside stroke to my image layer and adding a drop shadow.
    I created a droplet from this action and put it in the droplet folder for LR.
    Now for the repeated steps that I am going through...
    Select the images that I want to write to Facebook.
    Export these images to a new folder using the droplet.
    Import the folder of all of these images back into Lightroom.
    Move the new images with borders on them into the correct LR FB publish service.
    Publish the photos using the sharpening and watermark settings.
    Delete the .psd files created in Step #2
    The steps that I would like to avoid are #2, #3, #6
    Or maybe I am going about this all wrong?  Anybody have any better ideas?

    You may find it much easier to use the Migrify plug-in from Tim Armes/Photographers Toolbox which does what you want from within Lr.

  • How to add a Border

    Hi!
    I want to know how to add a border to a particular column (Vertical) in the report. I have no clue, please help me.
    Thank you very much.
    null

    A partial solution:
    -- Select a border color, as suggested.
    -- Pull down Format/Border, and deselect
    the "top" and "bottom" buttons.
    This will get you vertical lines around all
    cells with data, but not cells with null
    values. Also (it's been a while since I
    looked at this in detail) this works nicely
    from the live previewer but doesn't work in
    all output formats - not HTML for instance,
    if I recall correctly. Depends on which
    type of output you need.
    If you have a lot of null cells, i.e. with
    no border, the lines is your best option.
    Done neatly it looks about the same.
    HTH.
    -- Allan Plumb

  • How can i apply border for fluid grid layout div

    How can i apply border for fluid grid layout div

    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="CSS/Layout.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="flexslider.css" type="text/css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script src="jquery.flexslider.js"></script>
    <!-- Place in the <head>, after the three links -->
    <script type="text/javascript" charset="utf-8">
      $(window).load(function() {
        $('.flexslider').flexslider();
    </script>
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1"><img src="SJV-Images/Banners/Dark-green-curved-header.png"/></div>
      <div id="LayoutDiv2">
      <div class="flex-container">
      <div class="flexslider">
        <ul class="slides">
          <li>
            <img src="SJV-Images/Stud1.jpg"/>
          </li>
          <li>
            <img src="SJV-Images/Stud2.jpg" />
          </li>
          <li>
            <img src="SJV-Images/Stud3.jpg" />
          </li>
        </ul>
      </div>
    </div> </div>
      <div id="Nav">This is the content for Layout Div Tag "Nav"</div>
      <div id="Special_Features"><h3 align="center">SPECIAL FEATURES</h3>
      <ul>
      <li>
      It is one of the oldest school.</li>
      <li>It was first started as an orphanage for the children of British soldiers, and later moved to its current location.</li>
       <li>Rich in Anglo-Indian tradition dating back to three centuries.</li>
      <li>The campus now has separate buildings within the campus for year 1 to  year 8 (Junior and Sub Junior block) and year 9 to year 12 (Senior and   Super Senior block).</li>
      <li>The school has montessori facilities in a separate building.</li>
      <li>The School also has boarding facilities for students from distant places.</li>
      </ul></div>
      <div id="History"><img src="SJV-Images/His_Image.png" alt="Hisimage" class="floatleft">
      <h3>HISTORY OF OUR SCHOOL</h3><P>In 1750 – a very long time ago,a missionary and a teacher, Christian Frederick Schwartz came to India to work in the Danish Mission at Tranquebar.Due to his own personal charm, genius and integrity, soon he became a trusted envoy to the court of Princes ,both hostile and friendly. He even helped in the training and education of Serfogee Rajah, the adopted son of the Tanjore Raja Tuljagee.</P></div>
    <div id="Photo_Gall"><center>
        <strong>PHOTO GALLERY</strong>
    </center>
      <p><img src="SJV-Images/Photogall.png" width="174" height="70" class="floatright"/></p>
    </div>
      <div id="News_Events"><center>
        <strong>NEWS & EVENTS</strong>
      </center><center>Annual Day<br><center>
        Alumni Meet<br>
        Exam Time Table<br>Parents-Teacher's Meet</center>
      </center>
      <br></div>
      <div id="footer">This is the content for Layout Div Tag "footer"</div>
    </div>
    </body>
    </html>

  • Hi All how to add new payscale  for an employee in sap hr-abap,its urgent

    Hi All ,
    how to add new payscale for an employee  in sap hr-abap,its urgent.
    Message was edited by:
            bharat kumar
    Message was edited by:
            bharat kumar

    Hi
    If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
    If that field is not there in the any of the structures then you can define a variable using define command
    /: DEFINE  &VAR&
    / &VAR&  = <some value>
    or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to create a border for a paragraph ?

    Can anyone tell me how to create a border for a paragraph ? Is this even possible without creating a table ?
    I would like to have the page header with a single line below it and the page footer with a single line above it. Inserting a line seems to force unnecessary space above of below the line and using a table seems to force a blank line below the table also creating unnecessary space.
    Thanks

    Thanks, I had the problem with this approach that the line never appeared on each page but adding to the section master would fix it.
    Still being able to set a border would be good! I did try using the text box but the border options are pretty inflexible. I was unable to just set the top or bottom borders. Did I miss something basic here or is this option just not available ?
    Any idea if this is coming in a future release ?

  • How to add a border to image

    I am a newby to Photoshop.  All I want to do is add a
    border to my image.  Can't find a tutorial. Help?

    Thank you. It looks very helpful.
    Date: Mon, 27 Jun 2011 15:03:52 -0600
    From: [email protected]
    To: [email protected]
    Subject: How to add a border to image
    Here's a little video from Adobe TV that shows you how to create borders in Photoshop Elements. If you don't have Photoshop Elements, skip the first 1:25 of the video, the rest of the steps apply to Photoshop as well:
    http://tv.adobe.com/watch/learn-photoshop-elements-9/creating-a-photo-borde/
    >

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • How to add F1 help for a field on ALV grid

    Hi All,
    When we execute a program, the output is displayed using ALV grid.
    on the ALV grid, if we press F1 on a field, it should popup the help document.
    How to add F1 help for a field on ALV grid.
    Thank you all in advance.

    fill field LVC_S_FCAT-ROLLNAME of your fieldcatalog in method SET_TABLE_FOR_FIRST_DISPLAY
    A.

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • How to add a port for a IP cam in the airport extreme setting? thx!

    I has buy a IP cam, but I don't know how to add a port for a IP cam in the airport extreme setting? (I can see the IP cam in local, but not the internet.) Many Thanks!

    atwoodjordan, Welcome to the discussion area!
    See Steve Newstrum's user tip "How do I use Port Mapping (Part I)". When it talks about giving your Mac a static IP address just substitute camera instead.

  • How to add extra options for style of images.   iPad version has far more options than Mac version

    How to add extra options for style of images in pages.   iPad version has far more options than Mac version

    Thank you, you made me go look again and I realised the ones I use on the iPad are under Borders not style and they are on Mac also.  I feel a bit silly but I wouldn't have got there without your prompting.  Do you mean by "create your own"  using the borders and then saving as a style or can you create something that is not in either?
    Thanks again

  • How to add indian english for siri?

    how to add indian english for siri... siri no use for indian user...

    You cannot, it is something only Apple can do.
    The phone merely listens to the commands, digitizes into some proprietary format and sends it to Apple's servers, who do the heavy lifting of interpreting what you want. So you can't hack the language into the phone.

  • HT201320 how to add an account for Google apss?

    how to add an account for Google apss?

    Hello,
    To create an account for googole to use their applications, go to www.google.com, on the upper right hand corner of the browser, is will say sign in.  Click that.  Then it will bring you to a page in which you can sign in or create a new account.  Create a new account following the steps and then you are set.  Once you have downloaded a google app, you can use that same username and passward that you created at www.google.com
    Hope this helps,
    -Allen

Maybe you are looking for

  • IPhoto/Cannon EOS problem

    iPhoto 9.51 on MacBookPro Maverick interfering with Cannon EOS photography software. Camera is disconnected. Following brief use of iPhoto (not normally used) this morning. Anyone else had this problem?

  • Experiences with Nikon D750 and Aperture

    Hi, a few weeks ago I bought a Nikon D750 – my camera before was a Nikon D700. All in all I am disappointed about the quality of my photos with the D750 in Aperture – they're all 14bit RAWs without compression. The problems e. g. are: - Photos shot w

  • I forgot my security questions, now Im locked out of my account. How can I log in. I just wanted to change my password

    I forgot my security questions, now Im locked out of my account. How can I log in. I just wanted to change my password

  • Editing the Menu Bar in Workgroup Manager

    Hi There. Could anyone help me with editing the Menu Bar for my users. I want to do away with the 'GO' option on the Menu Bar so that my pupils cannot browse down to the 'Network' button thus stopping them browsing the network. I presume that it is a

  • Opening Collage Project Crashes PSE

    Background: OS X PSE 9 When I click on Create>Collage I get a dialog to chose a size. Alongside the size column is a theme column but after selecting a size there is nothing in the theme column. Clicking Ok causes PSE to crash. I get the same respons