How do I customize the look of my JTable in a scrollable pane

When I have a JTable in a scrollable pane, there is an annoying blue border that I want to get rid of. I would also like it if, even if there are no entries in the table, the column heads would still show up. Finally, I want to change the background of the table so it is not the grey-ish color that it defaults to. Do you know how to do any of these things?
thanks,
Eric

Read through the relevant sections of the [javax.swing API|http://java.sun.com/javase/6/docs/api/javax/swing/package-summary.html], specifically the page for JTable .

Similar Messages

  • Re: Elements 9 - How can I customize the look and color of the organizer and edit screens?

    Re: Elements 9 -
    How can I customize the look and color of the organizer and edit screens?
    I recall doing it initially but can't find any place to redo it.

    Rorbie I would recommend posting your inquiry to the Photoshop Elements forum.

  • Elements 9 - How can I customize the look and color of the organizer and edit screens?

    Re: Elements 9 -
    How can I customize the look and color of the organizer and edit screens?
    I recall doing it initially but can't find any place to redo it.

    Unless you did it in pse7 or pse 8, then you really can't change the interface colors in pse 9 or pse 10.
    The only color you can easily change in the interface of the editor is the padding color around the document by right clicking outside the document bounds.

  • How can I customize the stylesheet of webdynpro applications?

    Hello experts,
    how can I customize the Look & Feel (e.g. background color) of webdynpro applications?
    I refer e.g. to UWL which is opened by a task link in an email and opens as as webdynpro application in a separate window. It appears in the typical SAP blue. I would like to change the color.
    The portal´s customization does not affect webdynpro applications.
    Thanks in advance for any hint.
    Thomas

    Hi Avi
    Yep, that's what you get with AIR output. You have to live
    with the skins the AIR layout provides. I suppose if you are a FLEX
    developer you might be able to change the skins. But it is what it
    is.
    You might consider submitting a Wish Form to ask the
    development team to allow us more flexibility with AIR skins. Or to
    even create a way for the AIR app to use elements of the WebHelp
    skins.
    Click
    here to visit the Wish Form.
    Cheers... Rick

  • How do i change the color of a JTable's column names

    hai,
    i'm very new to java and trying to customize the look of a JTable.
    how do i change the color of a JTable's Column names. i know its very simple, i just couldn't figure out how to do it!!
    thanx in advance

    table.getTableHeader().setForeground(Color.RED);

  • How do I customize the login page?

    Hi, floks:
    How do I customize the login page?
    Can I just create a page with login portlet in it? what do I put as on Success URL,
    if I choose to go to the home page?
    thanks.
    null

    You can create a page and add a login portlet to it.Make it accesible to public.
    change the default page of the user "public" to the page you have created.(by default it is WELCOME)
    if there is an error in the user name or the password entered the portal still navigates to the default single-sign on page.(You have not changed the sign on page still)
    To change this page look at on-line help.
    search with string "customize" in online help
    null

  • How do you customize the toolbar in Windows XP?

    How do you customize the toolbar in Windows XP? When I right click on the menu bar the "Customize..." option is there but it does absolutely nothing.
    Which brings me to the rhetorical question as to why it was necessary to shuffle everything around, was it broken? Did it not work? Since 2006 I've moved my mouse pointer almost instinctively to the left side of the screen, now all of a sudden I have to go right, is there a point?
    This is like supermarkets that as soon as you have figured out where everything is, they shuffle everything around and now you are stuck in mystery shopping. At least they have economic reasons. Meanwhile Firefox seems disposed to make itself look more like Chrome, but hey if I wanted Chrome I'd get it.

    Nope... Thanks, but Safe Mode does not do the trick. Oh sure you can move the buttons around and rearrange things to your liking, unfortunately it does not stay that way once you get out of Safe Mode.
    I guess if you use an XP machine you are doomed to use FF's interpretation of what it should look like, which is ass backwards from what it has been for the past FIVE YEARS!!! Why not? It seems XP users are now the Freddo's of computing.
    Someone should go to you developer's homes move everything around, forks in the basement, beds in the bathroom, TV up in the attic with the mice, dining table outside on the porch, see how you like it.

  • How do I customize the Push Notification sound?

    How do I customize the Push Notification sound?

    Searching the Internet, I found a solution that involves installing special software that I do not want to do.
    I also found a procedure shown below. The problem is, that switch and selection ( Notification Sound) does not exist on my iPhone.
    The current sound I appear to be getting is the Tri-Tone.  I find this hard to hear and I usually miss it, I was looking for something louder.   Sadly, the Android version of this app has the notification sounds changeable.

  • How do i customize the "tile" on the first page of Wiki Server 4 on OS X Server?

    How do i customize the "tile" on the first page of Wiki Server 4 on OS X Server?
    The title says "OS X Server" and i want it to say something else... How can i do that?

    Ok... i did some digging around... and struck gold.
    The digging part is not for the "faint of heart" since the Terminal is your best friend and some coding knowledge is involved. Suffice to say my trip in Wiki Server 4 land led me through Ruby on Rails code. I was surprised to find that i'm able to read ruby code, and i don't know Ruby at all. After looking through Model Views and Controllers i figured out the solution was simpler than i anticipated.
    To modify the title on the first page you need to edit a .strings file. You need to use the download version (not the mac app store app) of TextWrangler or some other editor that allows Authenticated Saves (save files as other users). Make sure the Wiki service is off... the slider in the server app is off.
    The location of the file depends on your language locale that you use:
    /Applications/Server.app/Contents/ServerRoot/usr/share/collabd/coreclient/locale s/en.lproj
    where "en" can be either de, es, fr, it, ja, ko, nl, zh_CN, zh_TW depending on your wiki language.
    First()you need to right click on the file and "Get Info" and adjust the permissions temporarily for "Everyone" to "Read and Write".
    Open the file in TextWrangler and find the key general.os_x_server and under it you can modify the string "OS X Server" to anything you want "My own company Wiki".
    Save()the file.
    Second()you need to right click on the file and "Get Info" and adjust the permissions temporarily for "Everyone" back to just "Read".
    Move()the slider in the Server App to On again for the wiki.
    Enjoy!!!

  • How Do I Customize the Key Combination to Cycle Through Windows in Reverse in all Applications?

    How do I customize the key combination to cycle through windows in reverse in all applications?  I want to be able to change the global setting for Command+~ (Cmd+Shft+`) to something more desireable.  I could NOT find a way to do this in Systems Preference -> Keyboard -> Keyboard Shortcuts since there is not a menu selection "Cycle Through Windows in Reverse".  I then went and looked in the plists DBs of Finders resources hoping to find a setting I could override.  I was quite supprised, as well as some of the MAC gurus in the office, that there was not an easier way to override cycling through windows in reverse on a MacBook - the most user friendly and accessibility aware computer on the market:)
    Here is my MAC software info.
    System Version:  Mac OS X 10.6.7 (10J869)
    Kernel Version:  Darwin 10.7.0

    I don't know of any way to have a separate commandkey combo for the reverse cycle function.
    From the Help pages for OS X 10.6.7 ("Using global keyboard shortcuts") -
    NOTE: You can create keyboard shortcuts only for exisiting menu commands.
    Since the 'reverse' cycle command is not an existing menu item, creating a separate key combo for it doesn't seem possible. Apparently the 'reverse' cycle command is a fixed one, internally defined as a mod of the normal cycle command invoked by adding Shift to its key combo.
    There may be a way to achieve what you want via a two-step process: write an AppleScript that will invoke the 'reverse' key-combo set, then link the activation of the AppleScript to a key combo of your choosing. Not sure if this is even possible, though - usually AppleScript activation via keyboard would be set up via an FKey.
    I can understand wanting to share the RSI risk evenly between both hands, or even to unload the left hand if that is desirable. However, apparently a two-key combo can't be done for the reverse cycle function. Is a three-key combo not possible? ...meaning a two-key combo on the right (Command plus something) for normal cycling, adding Shift for reversing?
    One caution about changing keyboard command combos - it's very easy to accidentally set up a conflict with a another existing commandkey set. FWIW, most, if not all, of the mnemonic and easily-reached letters are already used. In this vein, the Keyboard Shortcuts page of the Keyboard prefs pane shows such conflicts via a yellow caution triangle next to the conflictors.

  • How can I customize the skin of my AIR app

    Hi all,
    I have created an AIR app from my RoboHelp v7 WebHelp.
    Works and looks quite nice. Great. It's just that it did not use the WebHelp skin I created. It uses some default skin.
    How can I customize the skin of my AIR app? When I run the RH Packager for Adobe AIR, I get a dlg box come up, called, "General Options - RoboHelp Packager for Adobe AIR" and it offers me a few default skins, but it does not offer me the skin I made for my WebHelp.
    I also heard that if you learn FLEX you might be able to change the skins.
    TIA
    avi

    Heya,
    In order to change it alle just set it up as ordinary html webpage so heres and example of css:
    style.css - In the main directory of your app.
    body {
         margin:0;
         padding:0;
    #wrap {
         margin:0;
         padding:0;
         text-aling:left;
    #header {
         padding:2px;
         background:#000;
         color:#fff;
    #content {
         padding:1em;
         margin:0;
         background:#ccc;
    #footer {
         padding:2px;
         background:#000;
         color:#fff;
    Now for the html file:
    <html>
         <head>
              <title>My App</title>
              <link href="style.css" rel="stylesheet" media="screen" />
              // Scripts go here
         </head>
         <body>
              <div id="wrap">
                   <div id="header">
                        My Application title
                   </div>
                   <div id="content">
                        bla bla bla lorem lipsum.
                   </div>
                   <div id="footer">
                        Copyright'n stuff
                   </div>
              </div>
         </body>
    </html>
    If you need more help or examples I recomend that you go here and read some stuff on a lot of it all , you can also download theese samples it contains a lot of good stuff which makes it all A LOT easier to understand, the way I learnt most of what I know even though I am still missing some things.
    Hope it helped!
    Best Regards
    Buch

  • How Can You Change the Look and Feel of Charts in OBIEE 11g

    How Can You Change the Look and Feel of Charts in OBIEE 11g?
    Edited by: user11973122 on Jul 18, 2012 12:13 AM

    Check these files
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\views\dvtchart\obips.dvtchart.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\display\chartfontmapping.xml
    Pls mark correct or helpful if helps

  • How do I customize the forms to the SharePoint list

    I need to customize a form to a SharePoint list that I created in Visual Studio.
    After the deploy list, try to customize the EditForm.aspx, NewForm and forms, however when publishing the form of a message that basically says catastrophic error is displayed:
    This form is not a standard SharePoint.
    How do I customize the forms to the list created?

    Hi,
    Here is a link which describe how to customize SharePoint list forms using Visual Studio, Please compare it with your code and see if there is any possibility causing the error.
    http://www.codeproject.com/Articles/223431/Custom-SharePoint-List-Forms
    More important, I’d strongly recommend you using InfoPath Form to custom list form for SharePoint. For your convenience:
    http://msdn.microsoft.com/en-us/library/office/aa947697(v=office.15).aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Customize the look of the interface?

    Is there anyway to customize the look of the interface in FCP?
    In other words- change the color of the timeline background, video tracks, audio tracks, etc.
    I recall Avid gave me that option and it seems like it would be something Apple would allow- but I can not find any way to do it.

    Only by hacking the locked .nib files inside the application bundle.
    One false move and you are looking at a full reinstall. Not really worth it in my opinion.

  • Error in 'Customize the look of the UWL main page'

    Hello,
    We need to hide a column of UWL. For that we try:
    In System admin/UWL Administration/Configure item types and customize views using a wizard:
    'Customize the look of the UWL main page' option. In Tasks tab, 'Customize the View' button we get the following error: java.lang.ClassCastException. Exception ocurred during procesing of Web Dynpro application sap.com/tckmcbc.uwl.ui~wd_admin/UWLControlCenterConfiguration.
    Please, we need to show this page, can you help me???
    Thanks&Regards

    Hello BNantes,
    What is the version of the UWLJWF component that you are using, including patch level?  Do you have to do this for all user id's or can you personlize the display only per person?  If you can just personalize the UWL per person you can do this from the personalize option from the context menu.  Once you invoke the personalize option, select the column that you want to hide via the dropdown menu, remove from current view and click save.
    If you need to do this portal wide, you can do it through the wizard or update the xml file yourself. 
    To update the xml file:
    Example for the default view
    <View name="DefaultView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="tasks">
    Above in this code you will see the following for the DefaultView:
    columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status"
    Here you can remove the columns that you do not want all users to see.  Rename the xml file (but keep the uwl.standard on the system) and upload your new xml file with high priority.  I just tested this on our internal test portal and it worked fine.
    Have a good day!
    Best Regards,
    Beth
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***
    Best Regards,
    Beth
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

Maybe you are looking for

  • New to iMovie, create live video and audio?

    Hello, I am trying to create a video of a live musical performance to post on youtube and have figured out how to use the isight to get a video but can I use the biult in mics to record live audio with the video?

  • How to set the xmlns:urn

    Hi, can anyone tell me how i have to wirte an xsd that i can wirte a SOAP Request in which the urn is set like this: xmlns="urn:Service". I have tried to wirte a xsd but i now get two chances: 1) I just w´rite in the xsd : <xsd:annotation name="xmlns

  • Error 11503: What does this mean?

    I purchased an Itunes music card and when i tried to download the songs it gives me an error 11503. Could not purchase unknown. unknown error occured. There was an error in the music store, please try again later. Well i have tried again later and it

  • Oracle database software on Intel based Solaris

    Hi all, Any idea regarding Oracle 8i/9i software on Intel based Solaris. Can I use Oracle 8i Sparc Software for Intel based Solaris? Thanks

  • From Version 4.0.1 to be opened in 2011

    Source Version: 4.0.1 To be opened in: 2011 Thank you for the assistance! Attachments: Source_Control.llb ‏1770 KB