Border over all colum of a JTable

Hi,
I want to set a border for a row in a JTable painted through all colums of this row. Not one for each cell.
Any ideas?
thx

Take a look at the my prepareRenderer code from this example:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=613783
Not exactly what you want but it should get you started:
a) change the if condition to only look at the row selection
b) change the border to use a MatteBorder so you can set the left and right sides to 0.

Similar Messages

  • I made a dumb decision to 'Erase Free Space' on my drive. I now have no free space, I realize because it wrote 0's over all my free space. Is there a way to undo this??? Help please I can't save any documents now! Thanks in advance all, it is truly apprec

    I made a dumb decision to 'Erase Free Space' on my drive. I now have no free space, I realize because it wrote 0's over all my free space. Is there a way to undo this??? Help please I can't save any documents now! Thanks in advance all, it is truly appreciated. how can find the hidden temporary files using the terminal what do i type in?

    It's more likely a failed Erase Free Space, which creates a huge temporary file; that's why it looks like you have no more available drive space. You can recover from this. See these links
    https://discussions.apple.com/message/10938738#10938738
    http://www.macgeekery.com/tips/quickie/recovering_from_a_failed_secure_erase_fre e_space 
    Post back if you need any help with this.

  • When installing itunes on PC with Windows Vista, the itunes program "took over" all of my desktop icons.

    When installing itunes of my PC with Windows Vista, the itunes program "took over" all of my desktop icons.  How can I install it so it doesn't do that?  Thanks!

    You can force Vista to rebuild the desktop icons by changing your monitor's color depth momentarily. In the display properties, change to 16-bit color. Then change back to 32-bit.

  • I just bought a new iPad and I want to bring over all my apps from my first iPad but I don't have a computer, do I just use the cloud?

    I just bought a new iPad and I want to bring over all my apps from my first iPad but I don't have a computer, do I just set up an icloud account and upload all the things from my first iPad and then connect the new iPad to the icloud using the same account and sync it?

    No. You configure your new one to use the same Apple ID. Then re-download from iTunes:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I NEED OVER ALL HARDWARE SUPPORT FOR PAVILION DV6-3043TX

    I NEED OVER ALL HARDWARE SUPPORT FOR PAVILION DV6-3043TX, DISPLAY : FLASHING, HDD : SMART ERROR 301, KEY BOARD : UNSERVISEABLE, USB PORT : DISCONNECTED CONTINUOUSLY, THERMAL SHUT DOWN : RAPIDLY SHUTDOWN DUE TO INCREASE IN TEMP AS I M PERIODICLY CLEANING VENTS AND USING COOL PAD RECOMENDED BY HP DEALER, CD/DVD DRIVE NOT WORKING PROPERLY. SO I NEED SUPPORT FROM HP. MY EMAIL IS {Personal Information Removed}

    The smart error is usually a fatal hard drive error and it probably needs to be replaced.  Here is a quick scan of this forum for smart error 301:
    http://h30434.www3.hp.com/t5/forums/searchpage/tab/message?filter=location&location=forum-board%3ALa...
    I think the high heat situation and damaged your video chip at the very least and someone will have to open the laptop and reflow, reball or replace the video chip. If this machine is in warrantee, you need to call HP or contact them before it is out of warrantee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may click on the white star in the "Kudos" button for any helpful post to give that person a quick thanks. These feedback tools help keep our community active, so you receive better answers faster.

  • Is it possible to make an effect over all the finished film cuts etc

    I have almost finished a project, i like the way it is but would like to soften the overall feel of the film.
    Is there a way to place an effect over all the edits etc?
    Or do i have to export the finished movie and put that to a new project sequence?
    If so what is the best setting to export so that when i load back again i don't loose any quality?
    Thanks Gee

    Try this step by step. It will help you understand better exactly what happens when you nest a sequence inside another sequence.
    •Create a new sequence (File > New > Sequence). You will get a new timeline. (Make sure you create it with the same sequence settings as your original sequence ... see FCE > Easy Setup).
    •Then drag your original sequence from the Browser onto the new sequence timeline. This nests your original sequence inside the new sequence.
    •Then, +in the new sequence,+ apply whatever filters/effects you want to the original sequence.
    In effect, when you nest sequences you can treat the nested sequence(s) as if they were plain old clips. It's a cool trick.

  • [Solved] Foreach loop that loops over all files in a folder does not consider first file found

    Hello,
    I have a foreach loop in SSIS (as part of Visual Studio 10 and with SQL Server 2012).
    It loops over all files in a folder (ForEach File Enumerator).
    I set the folder: OK
    Traverse Sub folders: OK
    I have set up a Variable in Variable Mappings called FileName so it shows User::FileName: OK
    Index of variable is 0: OK
    It almost works ok. Except that the first file it finds is never considered.
    I set a breakpoint then and the first file it finds, is shown in black in the watch variable window. All subsequent files found are shown in red font. When I change the names of the files so another file is the first file found then it skips the other one
    which now is the first file.
    What is going on here? Why does SSIS skip the first file it finds in a foreach file loop?
    Any suggestions highly appreciated.
    Thank you
    Andi
    Andreas

    "red font - interesting, any example to show us (image)
    It would be interesting to share with us whether you use any file masks or expressions.
    Arthur
    MyBlog
    Twitter
    It appears a variable value turns red when it changes between breakpoints. It started black for the first value (the first file, obtained BEFORE the execution reached the breakpoint), and then turned red. I was able to reproduce this behavior on a test environment.
    However, it did not skip any files.
    OP, please set up the test shown in the image below. Create a breakpoint in the sequence container for the "OnPreExecute" event.

  • Can anyone tell me how I keep everything I had in my old photoshop, now I've updated to Photoshop CC 2014.  It did give me the option to transport over all my presets, but because I didn't have internet access at the time, it couldn't do it.  Now I'm not

    Can anyone tell me how I keep everything I had in my old photoshop, now I've updated to Photoshop CC 2014.  It did give me the option to transport over all my presets, but because I didn't have internet access at the time, it couldn't do it.  Now I'm not getting the option.  Please help.

    Migrating Presets does not require a network connection and you can still migrate your cc presets if you still have CC installed.  Use Photoshop menu Edit>Presets>Migrate Presets...  Migrating presets only migrates presets.  It does not migrate Plugins, settings, extensions and scripts.  CC 2014 is also not completely backwards compatible with CC.  Support for Flash Panels and Oil Painter filter have been removed.  So extensions like mini bridge no longer work in CC 2014

  • HT1926 When I try to install itunes on my new windows 7 laptop, itunes takes over all my programs. What can I do to install itunes?

    Whenever I try to install itunes on my windows 7 laptop, itunes takes over all my other programs. What can I do?

    First I'd set up a System Restore point. Then try applying the LNK registry fix from the following document:
    File Association Fixes for Windows 7
    Does that get your icons back to normal?

  • Black border around all clips

    Hello
    I have a black border around all my clips from one camera even when I set the canvas to "fit to window" I'm having to scale up these clips to 138% to get them in line with other clips in the project. I suspect this may have been an incorrect camera setting but is it possible to fix them all in FCP without having to scale each clip individually?
    Many Thanks
    Adrian

    If you get one clip the way you want it, you can copy it, select all the others, right-click, choose "Paste Attributes", and check "Basic Motion".

  • I purchase Adobe Elements Photoshop 12 & Premiere 12 together from a camera shop in town.  When I tried to use the Premiere, it splashed "created with the trial verson" over all of the photos. How can this unsightly watermark be removed. It has severely h

    I purchased  Adobe Elements Photoshop 12 & Premiere 12 together from a camera shop in town.  When I tried to use the Premiere, it splashed "created with the trial version" over all of the photos. How can this unsightly watermark be removed. It has severely hampered my timeline to start and finish this project. Why would a purchase software product purport to be a "trial" version?

    This indicator will appear when you have not registered your product or typed in the serial number for the product.
    Once you've added the serial number, any future products will not display this indicator.
    To remove this this indicator from videos created before you added the serial number, you'll need to delete the rendered files.

  • Hi is there any way around showing large product lay out through separate template from Over all layout?

    Hi, I have been thinking why everything except for the small product back up is tied up to the over all layouts template. Could any one give me advice on some ways I could display my large product page using a different template?
    Any suggestion will be appreciated. Thank you very much 

    Only with javascript and CSS and of a new template per catalog.

  • How do I pull over all the photos from camera uploads

    How do I pull over all of the photos from my drop box camera upload?

    grimescw wrote:
    How do I pull over all of the photos from my drop box camera upload?
    If you have Dropbox installed on any computer(s), your photos are already there.  That's the whole point of Dropbox.
    Just open the Dropbox folder on any of your computers.  Anything you copy to that folder (directory) and anything you upload to your Dropbox account from any computer in the world, will automatically appear in your Dropbox in all of your computers.

  • How should i increase over all buffer hit ratio.....

    Hi all,
    As shown below if my DB2 databse buffer Qulaity is low .. How should i increase over all buffer hit ratio..
    Please advice on any sap standrd notes or procedures
    Number                                    1
    Total Size                           80,000  KB
    Physical Reads                         6.65  ms
    Physical Writes                        0.00  ms
    Overall Buffer Quality                86.05  %
    Data Hit Ratio                        85.79  %
    Index Hit Ratio                       87.50  %
    No Victim Buffers                259,079,295
    --rahul

    One of the options is to simply increase the bufferpool size using the following command
    db2 alter bufferpool immediate <bufferpool name> size <new bufferpool size>
    However, this will affect the hit ration for a particular bufferpool. If you have more than one bufferpool, you need to identify the bufferpool(s) with worst hit ratio. In the SAP DBA Cockpit, check using
    Performance -> Bufferpool
    The victim buffer information is only useful in case you use alternate page cleaning.
    Note that there are other options to fight bad bufferpool hit ratio - however, with your small bufferpool size (80MB) maybe increasing the size is the appropriate step.
    Malte

  • Delete white border around all 4 sides of Page

    I have a Page, that inludes two images, and few text boxes, solid background color of light gray. Nothing very complicated.  Everything looks fine, as I look at the Page on my computer screen. There is no white border. However, when I print a copy of this Page,  it has a white 1/16" border, on all 4 sides of paper. I checked Inspector, but do not see anything that would account for this weird white border. Hope you can help.

    1. you would see a grey border at the edge where the printer can't print.
    In the page setup you should look att the predefined paper sizes for borderless options. If you have a Photosmart there should be a bordeless option. Might be called something else.

Maybe you are looking for