How to remove the border of a JSplitPane?

Hello,
I'm using NetBeans 6.1 under Mac OS X 10.5.5, JDK6. When I design my GUI, I want to have the splitpanes witouht border. On Mac and Linux it works fine, however, on Windows and the Metal-Look'n'Feel the borders are painted, although I set the border-property in the GUI-designer to "null".
My question is, can I additionaly manually remove the border? I found [this sample|http://forums.sun.com/thread.jspa?forumID=57&threadID=566152], but I didn't really help me since I don't know how to handle UIResources...
Thanks in advacne and kind regards
Daniel
Edited by: DnlLdck on Nov 7, 2008 7:16 AM

I guess you could try overriding paintBorder to do nothing.
If you post a SSCCE that clearly demonstrates your problem, more members are likely to take a look.
To post code, use the code tags -- [code]Your Code[/code] will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
I don't know how to handle UIResources...So take time out from whatever you're doing and learn how to use them. They're no different from other classes.
db

Similar Messages

  • How to remove the border from an AWT Component (specifically a ScrollPane)

    I've been trying to remove the border from an AWT ScrollPane, but having no luck.
    I've tried setting the bounds on the ScrollPane to get rid of the border:
    ScrollPane scrollPane = new ScrollPane();
    scrollPane.setBounds(-2, -2, getSize().width+4, getSize().height+4);
    I've also tried overwriting the paint method of the ScrollPane but it didn't draw anything:
    private class CustomScrollPane extends ScrollPane
         public void paint(Graphics p_g)
              super.paint(p_g);
              Graphics2D g2 = (Graphics2D)p_g.create();
              g2.setColor(Color.MAGENTA);     //tried magenta so I could easily see it
              g2.drawLine(0, 0, 0, getSize().width);
    Is there anything else I should try? (I wish AWT components had a setBorder method)

    Is there anything else I should try? (I wish AWT components had a setBorder method)Actually this probably isn't possible. One of the main drawbacks of AWT was that since everything is connected to peers, you can't actually draw over or customize the view of your AWT component.
    The only recommendation I might make would be that you could try creating Canvases around your ScrollPanel that draw over the border

  • How to remove the border of an Adobe Form Image Field

    Hello everyone
    I am using Desinger 8.0.
    Form properties: Preview type = Print Form (One-side):
    I am using an "image field" to include a image from the transaction SE78.
    There is always a box arround the image. How can I remove that box?
    I am using the "Image field" because the image will change depending on conditions.
    Here is my setting:
    Object: Field
                       type    = Image Field
                       Sizing  = Scal Image Proportionally
                Binding
                        Default Binding (Open Save Submit) = $record.GRAPHIC
                        (Graphic is defined in the global area in the interface)
    Layout :
                  AnchorX: 171.477mm  AnchoY: 15.111mm
                  width:       78.175mm  Height :   21.777mm
                   Margins: all at 0mm
                   Caption Position: None
    Border:
               Edges: Edit Together
                           None
                Background fill: None
    Based on my understanding, with border edges to none I should not have any border arround the image But I still have it.
    Any suggestions?
    Regards
    stjacqd

    Hello Raju
    Thank you for your reply.
    Unfortunattely the Field tab doesn't have the Appearance in it.
    The field tab contain only the following Items:
    Type : Image Field
    Caption:
    URL
    Embed Image Data
    Sizing: Scale Image Proportionally
    Presence: Visible
    Locale: Default locale
    There is no item named "Appearance".
    I am using AdobeLiveCycle Designer 8.0
    Version 8.01.3250.1.491864
    Regards
    dstj

  • How to remove the border on an af:InputText in 11g

    My tag looks like this,
    <af:inputText inlineStyle="border-color:white; border-width:0px"/>
    But it did not work.
    The inputText from the JSF HTML library works fine.
    <h:inputText style="border-color:white; border-width:0px"/>

    Hello,
    We will take a look at this and try to reproduce. Just for clarification, are you referring to the visual editor (ie., design time) or the run time?
    thanks,
    --Srini Raman                                                                                                                                                                                                                                                                                                                                                                                       

  • Removing the Border

    Hey
    I was wondering if anyone knows how to remove the border on
    this image. It is a random picture image generator thing. Take a
    look at the page.
    http://www.fly-va.com/vaj/logomenu.htm
    Here is the javascript used.
    <script
    language="JavaScript1.2">mmLoadMenus();</script>
    <a href="Index1.shtml"><SCRIPT
    LANGUAGE="JavaScript">
    var num_images = 4
    var images = new Array(num_images)
    images[0] = "logo2.jpg"
    images[1] = "logo4.jpg"
    images[2] = "logotail.jpg"
    images[3] = "logotakeoff.jpg"
    var n = Math.floor(Math.random() * num_images)
    document.write( "<img src=\"" +images[n]+ "\">" )
    </SCRIPT>

    Start with valid HTML - the page has no doctype, not
    <html>, and no <head>
    tags.
    Then try adding this CSS to the page -
    a img { border:none; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "andreluxury" <[email protected]> wrote in
    message
    news:f5fk21$8r0$[email protected]..
    > Hey
    >
    > I was wondering if anyone knows how to remove the border
    on this image. It
    > is
    > a random picture image generator thing. Take a look at
    the page.
    >
    http://www.fly-va.com/vaj/logomenu.htm
    >
    > Here is the javascript used.
    >
    > <script
    language="JavaScript1.2">mmLoadMenus();</script>
    > <a href="Index1.shtml"><SCRIPT
    LANGUAGE="JavaScript">
    > var num_images = 4
    > var images = new Array(num_images)
    >
    > images[0] = "logo2.jpg"
    > images[1] = "logo4.jpg"
    > images[2] = "logotail.jpg"
    > images[3] = "logotakeoff.jpg"
    >
    > var n = Math.floor(Math.random() * num_images)
    > document.write( "<img src=\"" +images[n]+ "\">" )
    > </SCRIPT>
    >

  • How to remove the white space that is now above the main images on each page?

    http://www.nydogworks.net
    Hello,
    I took over updating some things on my site from my web designer. The main images on each page used to be flush with the navigation bar on each page. Now there is a white space in between each one. Can you tell me how to remove the white space?
    <div id="container">
    <div id="imgholder"><img src="images/feature-aboutus.jpg" width="951" height="341" alt="" />
    </div>
    <div id="pageContentNoside">
       <div id="sideSub">
         <form action="form.php" method="post" name="form2" id="form2"> <table width="250" border="0" cellpadding="2" cellspacing="2">
           <tr>
             <td width="273"><h2>Quick Contact</h2></td>
             </tr>
           <tr>
             <td class="mainContent">Your Name</td>
             </tr>
           <tr>
             <td><span class="style9">
               <input name="forname" type="text" class="colorfieldssmall" id="forname" size="20" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Your Email Address* (required)</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="admail" type="text" class="colorfieldssmall" id="admail" size="25" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Phone Number</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="phone" type="text" class="colorfieldssmall" id="phone" />
               </span></td>
             </tr>
           <tr>
             <td><span class="mainContent">Type of Dog Training</span></td>
             </tr>
           <tr>
             <td class="mainContent"><span class="style9">
               <select name="need" class="colorfieldssmall" id="need">
                 <option value="select one">select one</option>
                 <option value="Basic Obedience">Basic Obedience</option>
                 <option value="Behavior Therapy">Behavior Therapy</option>
                 <option value="Board and Train">Board and Train</option>
                 <option value="Off Leash Training">Off Leash Training</option>
                 <option value="Puppy Training">Puppy Training</option>
                 </select>
               </span></td>
             </tr>
           <tr>
             <td> </td>
             </tr>
           <tr>
             <td><div align="left">
               <input type="submit" name="submit" id="submit"  value="Submit" />
               </div>
               </td>
             </tr>
           </table></form>
         <h2><br />
           Dog Training Services<br />
           </h2>
         <ul id="subnav">
           <li><a href="basic-obedience.html">Basic Obedience</a></li>
           <li><a href="dog-behavior-therapy.html">Behavior Therapy</a></li>
           <li><a href="board-and-train-dog-program.html">Board & Train Program</a></li>
           <li><a href="off-leash-training.html">Off Leash Training</a></li>
           <li><a href="puppy-training-program.html">Puppy Training</a></li>
           </ul>
         <br />
         <br />
         <br />
         </div>
      <div id="suggestPost"><a href="https://www.facebook.com/pages/NYDogWorks/219268038151244?fref=ts" ></a></div>
       <div id="mainContent">
         <h1 class="copyrightType">About NY DogWorks</h1><br />
         <h2> <span class="testimonal">The Owner of NYDogWorks</span>      </h2>
         <p><span class="copyrightType"><img src="images/dogpic.jpg" alt="Dog Behavior Therapy" width="183" height="275" class="h_img_float_right" /></span><strong>NYDogWorks L.L.C. is owned and operated by Master Certified Dog Trainer and Behavior Specialist Brian DeMartino. </strong><br />
           <br />
           His training is hands down the best out there. He has become one of the most sought after dog trainers throughout Long Island, Manhattan, &amp; New York.<br />
           <br />
           With over 15 years experience training and rehabilitating some of the toughest cases of dog behaviors. He’s Mastered the Art of teaching top knotch obedience and manners with outstanding results and has developed the most full proof and guaranteed system to fully housebreak any puppy or dog in the shortest amount of time.<br />
           <br />
           He is Certified in dog training and dog behavior and is an Official Evaluator for the American Kennel Club’s (C.G.C) Program.<br />
           <br />
           <br />
           <strong>All About NYDogWorks</strong><br />
           </p>
      <p><br />
      </p>
         <p>NYDogWorks Dog Education, is a Professional Dog Training Company offering dog training for puppies and older dogs through customized in-home training programs by Master Certified Trainers in Nassau County, Suffolk County, Hamptons, Long Island, Manhattan, Brooklyn, Bronx, Queens, Rockland County, Westchester County, Orange County, and Bergen County New Jersey. NYDogWorks offers obedience training, Housebreaking, Manners, socialization for your dog,  Puppy Training and Education, Behavior Therapy, Trick Training, Agility, Complete Off Leash Training, Sport Work, and Personal Protection Training. <br />
           <br />
           <strong><br />
             NYDogWorks Boarding &amp; Training Programs</strong><br />
           </p>
      <p><br />
        We offer boarding and training programs done in the home of owner, Brian DeMartino. This is a customized 2-6 week program to suit your dog's needs, great for someone who feels they do not have the time or patience to train or rehabilitate their dog at their home. This is a 100% guaranteed program. Your dog will stay with us for no additional charge if we feel that he or she has not learned all that was agreed upon. We guarantee that if there is any regression within 3 months of your dog being back home with you, he/she will come back to us for no additional charge.<br />
        <br />
        <a href="board-and-train-dog-program.html">View Boarding &amp; Training Programs</a></p>
         <p><br />
           </p>
         <p><br />
           <br />
      </div>
       <div id="breadCrumbs">
         <p><a href="index.html">Home</a> &gt;  NY DogWorks - About Certified Dog Trainer Brian DeMartino<br />
           <strong>Serving all of Long Island, Nassau &amp; Suffolk County, Manhattan, Brooklyn &amp; Queens</strong></p>
         </div>
    </div>
        <div id="footer">
          <div id="footermenu">
          <div id="footermenu1">
          </div>
        </div>
       <div class="phoneNumber" id="copyright"> Copyright © 2014  NY DogWorks</div>
         <div class="websiteDesign" id="sitedesigner">Long Island Website Design by <a href="http://www.wetribet.com" title="Wet Ribet" target="_blank" class="medlink">Wet Ribet</a>     </div>
    </div>
    </div>

    You should be able to add the following snippets of css to your stylesheet to fix that.
    In the mainstyle.css file, change...
    #imgholder {
    width: 950px;
    margin-top: 0px;
    padding: 0px;
    margin-right: auto;
    margin-left: auto;
    to
    #imgholder {
    width: 950px;
    margin-top: 0px;
    padding: 0px;
    margin-right: auto;
    margin-left: auto;
    overflow:hidden;

  • DreamWeaver Template - How to remove a border?

    Hi Folks,
    I'm a newbie here. 
    I decided to use a dreamweaver template to start my website.  I want to remove the border of the template...as well as to make the Left and Right hand side "margins" the same background color as the webpage... can anyone tell me where to start on this?  Thanks for the help,
    Joe

    For myself, the best place to learn about this sort of thing is staring you in the face... I don't like books.  I find that suffering thru solving things is the best way to learn.  The internet is a very good resource, and taking a course or two never hurt me, though I usually had most courses completed by the second class (I couldn't put this stuff down once I started).
    Dreamweaver is just a tool...one of a few fairly decent ones.  Learning how to use it is nice, but the more important things to learn are the languages of web design, which can be overwhelming to catch and keep up with.  For the basics, I'd say you want to get neck deep into HTML, CSS, and Javascript.
    I don't do web design on a continuous basis... my dealings are more often in the Flash realm. Other folks here may have other recommendations that may be better advice to follow.  You'll probably find a few postings where someone has asked how to learn what, so look around a bit.  If you don't find anything, just ask it straight out as a new posting.

  • Pages - How to remove the grey frame?

    Hi!
    I am wondering how to remove the grey frame around the page so that when you print the page there won't be white borders around the page?
    Thanks!

    The grey border is probably the part the printer can't print on. It can be deselected in View > Hide layout. No matter what it will be white paper when you print.
    To not get white paper you need to be able to print borderless and you need to have images and text al the way out to the edge.

  • ALV .  How to remove the sort buttons on toolbar in ALV report?

    Hi,experts
      As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
      Thanks for your help .

    Hi guixin,
    1. Before calling REUSE_ALV_LIST_DISPLAY
    2. Write this code :
    data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.
    exclwa = '&OUP'.
    append exclwa to excl.
    exclwa = '&ODN'.
    append exclwa to excl.
    3. Then while calling the FM,
       pass this parameter also .
    IT_EXCLUDING     = excl
    It will work fantastic.
    regards,
    amit m.

  • How to remove the '#'symbols for infoobject movement types in bex reporting

    Hi All,
      I have a problem in Bex reporting. The problem is when ever executing the report  that time some of the characteristic values is shown in layout '#' Symbols. i want to remove the '#' valuse in report.
    is it possible please give me step by step procedure for how to remove the '#' Symbols in reporing layout.
    this is very urgent please help to me on this issue.
    Thanks & Regards,
    Guna.

    Hi Guna,
    To achieve this issue, we need to replace the value of ‘#’, we need to change the description while retrieving the data from tables. So we need to write some ABAP code in SE38. Go to RSA1 transaction and go to Info objects tab. Then go to context menu for ‘cProject Key Figures’ as shown below. Click on the ‘Object Overview’ to get the overview of all the info objects. Here you can see the field names which are used to know the table names.
    In SE11, type the table name in ‘Database Table’ field. Now press ‘F4’, then you will get the next screen to select one of the P/Q/S/T tables.
    Now click on the button rounded in the below screen to view the data in the table.
    Now click the execute button or press ‘F8’ to view the records.
    Now go to Tcode: SE38. Create a source code and give some program name for that source code. To write code, you need access key. Contact your BASIS for this.
    Now write the below code for that particular table in which you want to change the value ‘#’ to description ‘Blank’. In the below source code, we are updating particular table, setting the field as ‘Blank’ where it is null or no value. Here the field will automatically get updated to ‘#’ if there is no value or null.
    update /BIC/PXXXXX set /BIC/ZXXXX = 'Blank' where /BIC/ZXXXXX is null or /BIC/ZXXXX = ''.
    if sy-subrc eq 0.
    write 'successful'.
    commit work.
    else.
    write 'unsuccessful'.
    endif.
    OR
    If this # is because of the missing master data than,
    right click that IO -> maintain master
    you will see first row as a blank.
    whatever value you maintain in this row that will come in the report for all Not assigned # values of the master data in the report.
    maintain it according to your requirement, save and activate the master data
    Hope this helps u...
    Regards,
    KK.

  • How to remove the the standard button APPEND/INSERT/DELETE in webdynpro alv

    Hello,
    how to remove the the standard button APPEND/INSERT/DELETE in webdynpro-abap  alv
    Thanks
    Rakshar

    Use  this.
        data lo_cmp_usage type ref to if_wd_component_usage.
        lo_cmp_usage =   wd_this->wd_cpuse_alv1( ).
        if lo_cmp_usage->has_active_component( ) is initial.
          lo_cmp_usage->create_component( ).
        endif.
        data lo_interfacecontroller type ref to iwci_salv_wd_table .
        lo_interfacecontroller =   wd_this->wd_cpifc_alv1( ).
        data lo_value type ref to cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
        data: lr_std type ref to if_salv_wd_std_functions.
        lr_std ?= lo_value.
        lr_std->set_export_allowed( abap_false ).
    NOte: ALV1 is alv component name
    Regards
    Srinivas
    Edited by: sanasrinivas on Dec 1, 2011 6:11 AM

  • How to remove the sort function on the drill down and then save

    how to remove the sort function on the drill down and then save in the  change local view of the Query
    Is it possible to change the porperties of any characteristic in the local view and then save?
    If so please post the answer.

    I do not think that option is possible.
    Regards,
    Venkata Boga.

  • How to remove the Option "Only Refer Excise Invoice "from MIGO

    Hello,
    We are using the ECC 6.0. while suppose material is excisable then there are Four options will come in MIGO --Excise Invoice tab
    1)Only Cature Excise Invoice
    2)Only Refer excise Invoice
    3)Only Part1
    4)No excise Entry
    As per my client requirement then only need two options in MIGO.
    1)Only Part1
    2)No excise Entry
    Bcz they want to Capture and Post excise Invoice in J1IEX only...
    I have tried from Tax on goods movementIndia-Basic settings--Excise Grp settings..... Here in MIGO settings  we can remove the Click from "EI Capture"....Then we will not find the Capture excise Invoice in MIGO. Next How to remove the "Only refer Excise Invoice from MIGO..
    Regards
    sapman

    Hi,
    You can capture Excise Invoice w.r.t. PO in J1IEX and then refer it during MIGO (Note: - You are not capturing Excise Invoice again, only referring it) and then Post it in J1IEX.
    And in case of Stock Transport Orders, you need to refer the Excise Invoice No at the time of GR in receiving plant which is posted in the Supplying Plant (via J1IIN) so that system will copy all the duties same as of that invoice and user need not to do any manual intervention.
    Also in case of Imports, first you capture Bill of Entry w.r.t. PO in J1IEX and then refer it during MIGO and finally post it in J1IEX.

  • Urgent help: How to remove the accumaltion when show movies step by step with buttons

    I want to show the movie step by step by clicking the next
    button. Inside each frame, many movie clips are generated
    dynamically at runtime, and they can be played interactively.
    I achieves the step-by-step display of those frames by adding
    another layer with the action stop(). But I got one trouble: all
    the movie clips from previous frames are accumalted. How to remove
    the accumulation from previous frames?
    For the continuous display of the movie, I tried to use
    onEnterFrame() and change the _visible property of all the movie
    clips to false in this function. But it doesn't work for the
    step-by-step display. Once I click the next button, the movie clips
    at the current frame just show very quickly, then disappear. What
    should I do?
    I need to fix this immediately.
    Your help would be greatly appreciated.
    - zcx

    you can use the removeMovieClip() method for those movieclips
    added dynamically.

  • How to remove the pop-up window ''Wireless Radio Status" for t430s

    Hi, I have owned my t430s for now about 2 years without any major complaints recently I've had to use the fn + f5 function quite frequently, because of my poor internet connection. so that way i can reset which signal I want to choose because the default signal I am connected to is not mine. My problem is similar to what is posted here: https://forums.lenovo.com/t5/X-Series-Tablet-and-Helix/how-to-remove-the-pop-up-window-Wireless-Radio-Status/td-p/1191059 I really want to get rid of the pop up for this feature, I've tried to follow what the other thread user's have done and try out their solutions but it does not work for my t430s i tried changing the pmev thing to what was posted in the thread. Can anyone help me? Thanks!  

    I already tried that as mentioned in my original post, it doesn't work. I still get the pop up message: this is me pressing fn + f5 

Maybe you are looking for

  • As an asset management tool it should manage all images but only adjust raw

    Is Aperture an image management tool, raw converter/workflow tool, or both? Let it be both! Restrict what is is ALLOWED to ADJUST, but manage it all. When I do a shoot, I start out with 300-1000 RAW images. By the time I am finished with the client I

  • Content open up in the current window

    When I add content in the content area but when I click the link it opens up in the current window s oppose to if it had been URL Link there is an option to open up in current window. As I was searching in metalink I found somebody from Oracle had po

  • Tiger User files to new iMac via enet or backup drive?

    I'm completely new to Leopard. My new (refurb) iMac 2.66 from Apple is bundled with SL. All I want from the old Powerbook/Tiger User files are iTunes library files, images folders in Pictures and Docs. No need for needwork settings, will be going to

  • Edit format in EFM, bank statement suppliers

    Hi Experts, I'm hoping someone can help me with an BFP-file we are working on. We are trying to create a file to import a bank statment for paid supplier invoices. It almost works. There is basically one problem: I can't find a way to import more tha

  • XSL:SORT not supported in current XSL-transformator

    In iCS 5.1 the use of the xsl element sort (<xsl:sort>) in an xsl stylesheet does not sort the set of processed nodes (<xsl:for-each ...>) as we would expect it, but simply copies the xsl element <XSL:SORT> to the output stream at every location, whe