Cell border manipulation

hi,
i want to change the width of a jTable's columnborder. do i have to write a own border class or can i manipulate the default border in some way?
thanx for help,
mischa

I seem to remember someone talking about extending the BasicTableUI class to draw the grid differently, but it doesn't seem like that would be as straightforward. You might look into it and see.

Similar Messages

  • Cell border not appearing in Adobe forms

    Hi,
    We Placed a button in internal table cell and itu2019s property is set to invisible.
    This button is set to visible based on value of other column value in the same row of table.
    But border for the cell is not coming when button is invisible.
    Note: the button size is equal to cell size and so when we make the button invisible ,the cell border itself is not appearing as the whole cell is invsible.
    How make the cell border visible even the button in that cell is invisible.
    Please put your suggestions in this regard.
    Regards,
    Kranti Yamparala.

    Hi Kiran,
    Please go through the below link:
    http://help.sap.com/saphelp_nw70/helpdata/en/45/2dbb13d79f3446e10000000a155369/frameset.htm
    Here the method to hide the toolbar is given. Try passing ABAP_FALSE in method: lr_method_handler->set_hide_toolbars( abap_false ) if it works.
    Regards,
    Vaibhav

  • Cell Border Line Weight

    I would like to use different Line Weights on spreadsheet cell borders, but no matter what Line Weight I choose from the Accents window, I always get (both visually and printed) the same Line Weight (hairline?) when I set a cell border. Am I missing something?

    I didn't enter the system details because the problem appeared on all the (different) systems I tried: iBook G4 (OS X 10.3.8), iMac G4 (OS X 10.3.9), iMac G5 (OS X 10.4.?), AppleWorks 6.2.7 and 6.2.9. I understand the need in general, but since this problem persisted across all these platforms, I thought that it would either be a well-known usage problem or bug (even though my best efforts could find no mention of it).
    Thanks for your response.
    Pete

  • Cell border with categories not possible?

    Several tables in my worksheet. Those without categories... I can format cell borders. Those with categories, no way. Can't select cell borders or apply line effects to a manually-selected cell border. Is there a workaround?

    You are right. I also discoverd that .NET has an implementation for this. Well, I hate to resort to .NET but have no choice.

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

  • Smartforms - Is it possible to Customize Cell Border In Template in 4.6C

    Hi,
    In smartforms, i know that Customizing Cell border is possible with node type TEMPLATE in version 6.20
    Our system is 4.6C
    But there are many differences between 4.6C and 6.20 about SMARTFORMS.
    Is there a way to specify custom cell border without "Select Pattern" option with node type TEMPLATE in 4.6C
    thanks
    ibrahim

    Hi,
    As you identify there are some large differences between Smartforms in 4.6c and 6.20.  So there is no equivalent of the cell-specific borders in 4.6c
    Regards,
    Nick

  • Selected Table Cell Border in 1.4.2

    Hi All!!
    I am facing a problem with JDK 1.4.2_01 & Windows L&F. I am unable to see the yellow border around the selected cell in JTable. Was working fine with 1.4.1_03.
    A bug with id: 4674205 was reported with 1.4.0 stating :
    " In the Windows Look and Feel, the selected cell in a JTree or JTable is framed with a yellow rectangle. To accurately match the real Windows UI, it should be a black and white dotted rectangle instead. (This was part of bug 4268204,which was marked fixed, but this part hasn't been fixed.) This behavior was fixed for JList, but not JTree or JTable. "
    Now it has been fixed and closed.
    May be they might have removed setting of yellow border for the selected cell to match with native windows UI.
    But selected cell border is very much necessary for my project. Can any one please suggest me a workaround.
    With Regards,
    LRK

    Hi Sai!
    Thanks for your reply. It will not be feasible in my application as it already has huge number of tables with some of them already having complex renderers and editors.
    I was looking at something which i can set globally so that it will reflect to all of the tables in the application in a particular L&F.
    I tried setting
    UIManager.getDefaults().put("Table.focusCellHighlightBorder",Color.yellow);
    and
    UIManager.put("Table.focusCellHighlightBorder",Color.yellow);
    But no luck.
    Any other inputs are most welcome.
    With Regards,
    LRK

  • Display the background of table row alternatively and hiding cell border

    Hi all,
    I am trying to display the background of the table using different color alternative and at same time I need to hide the border of all cells.
    What I found in <af:table> is using bandingInterval="1" banding="row", but how can I set the background color? And how to hide the cell border?
    Or if there is a thing like row index so that I can mod it like rowIndex%2==0 in every column to determine the inlineStyle?
    Thanks.
    Shawn

    <af:table value="..." var="row" varStatus="status">
      <af:column inlineStyle="#{status.index % 2 > 0.5 ? 'border:none;' : ''}">
      </af:column>
    </af:table>For some reason, EL operation always seems to return a double, so the condition has to be defined with that in mind.
    Regards,
    ~ Simon

  • JTable cell border color

    Hi All,
    How do i change the JTable's specific cell border color and set the cursor into that cell.
    Thanks.

    Write your own renderer.
    [Look at this example.|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=004710]

  • Cell border selection problem

    I have a spreadsheet that is a week at a glance schedule for a dance school. There are three columns per day, each representing a different studio location. Each row represents a 15 minute block time. I have been trying to create a border for each class (class times vary from 45 minutes to 2 hours) while leaving the in-between lines blank. For each 45 minute class, I select the three cells in a column, scroll down the border selection tool and select the outside border icon, next select the type of line, then the weight, finally the color, and so on. Once I get about 50% done working my way across the spreadsheet, buggy things start to happen. For example, a horizontal line will extend across several columns, sometimes intersecting previously defined class blocks. If I try removing the errand lines, then all the frames that do require a border at that position get their border errased. I them have to go back to those cells to re-assign a border segment, but then the unwanted horizontal line will reappear in the blank cells again. Very frustrating. Also, in my opinion, there are some cell frame options that are missing in this program. I t would be nice to have a button to select the top and bottom of a frame or group of frames at the same time. At present, you have to first select the top border, format it, then the bottom border and format it. Same goes for left and tight border sections. You can't select the two outside edges to apply the same style/thickness/color. Excel's border formatting commands are much better in this regard.
    Title was edited by: Host

    Hi Jim,
    I played around with the border options today and although I didn't have the borders going where they were not wanted I understand your frustration having to set either all four or just one border at a time.
    Just as an option, would filling the sets of cells with a light colour for each class work better for you?

  • Cell border stroke width is STUCK.

    Sometimes, after selecting a range of cells and attempting to put a thick border around the whole set, when change the stroke width from the default of .25 (after selecting "Thick" [the heavy line] for type of stroke), it will not change -- it is stuck on .25, no matter what I do. I pull down to, say, 1.5 and it just pops back to .25.
    This is a seemingly random problem -- often I have no problem changing the stoke width and creating exactly the sort of border I want.
    Anyone got an idea of what I am doing wrong?
    --JT

    Unknown behavior and, as it behave on a random basis it will be difficult to identify it.
    Assuming that something may be corrupted in the document, may you apply this scheme :
    save as Numbers '08 document
    Close the original document
    From Numbers '09, open the Numbers '08 version.
    If some features were dropped( functions unavailable in Numbers '08), restore them.
    With a bit of luck, the oddity will be gone.
    A more drastic cleaning would rely upon an export as Excel or as CSV.
    Of course, you may send the file to my mailbox but there is no guarantee that the problem surface here.
    In case, click my blue name to get my address.
    Yvan KOENIG (VALLAURIS, France) vendredi 27 mai 2011 09:08:59
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Cell border and text buttons.

    Dear members:
    I am a beginner and have just started using Dreamweaver.
    After a few attempts and some reading I decided to post a message
    with questions on a couple of problems I haven't been able to find
    answers for.
    The first one relates to table cell formating. I have tried
    to set border properties for individual table cells but haven't
    been able to. I would like to be able to set individual border
    thickness and border color values for different cells in a table.
    How is this done ? I have selected the cells I wish to format but
    the property window shows color but not border thickness value. Any
    ideas ?
    The second issue relates to text rollover buttons. I wish to
    create simple navigational buttons in a web site created from text
    placed in table cells. The text should be created as one color
    (gray) for the "up" state and then change to a different color as
    the state changes to "over" and "down". I have looked at Flash
    buttons but they are not exactly what I want and don't offer the
    option I am looking for. Flash text also doesn't allow me to set
    behaviors as most behaviors appear grayed and non-selectable. How
    can I create rollover buttons from simple text that changes color
    and style (normal, bold, italic) with state changes ?
    Any help will be very appreciated. I apologize if these
    questions seem basic but I am beginning to work with Dreamweaver.
    Thank you in advance,
    Joseph Chamberlain

    These may help -
    http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    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
    ==================
    "FreakyJesus" <[email protected]> wrote in
    message
    news:ec1dq8$gjo$[email protected]..
    > The answer to your table cell borders question is CSS.
    Do you know much
    > about
    > that? It will allow you to define all the cell styles
    you want, and then
    > you
    > apply those styles to the cells in question.
    > Your text question can be done a few ways, but again CSS
    is the answer. If
    > you
    > don't know anything at all about it - go look - you'll
    be using it again
    > and
    > again so it's well worth your time.
    > If you know about css and need help with the specifics,
    then post back and
    > we
    > can try some stuff out.
    >
    > Andy
    >

  • Cell border on one side only

    I'm using CS3. I have an htm file with multiple rows and
    cells. I want to put borders around the cells so that they appear
    only on three sides, leaving the interior border white or empty or
    non-existant. This will make it appear that the border goes around
    the row, not the cell.
    I've tried creating a CSS rule with border-top, border-left,
    and border-bottom, but I can't figure out how to apply it to the
    cell (the td). Please help.

    td { border:1px black; border-style: solid none; } /* this
    will start the
    process with a top/bottom border only on all cells */
    td.left { border-style:solid none solid solid } /* this will
    put a left
    border on cells with class 'left' */
    td.right { border-style:solid solid solid none; } /* this
    will put a right
    border on cells with class 'right' */
    Your table will be -
    <table>
    <tr>
    <td class="left">...</td>
    <td>...</td>
    <td class="right">...</td>
    </tr>
    </table>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "millifiori" <[email protected]> wrote in
    message
    news:giu7ce$4ec$[email protected]..
    > I'm using CS3. I have an htm file with multiple rows and
    cells. I want to
    > put
    > borders around the cells so that they appear only on
    three sides, leaving
    > the
    > interior border white or empty or non-existant. This
    will make it appear
    > that
    > the border goes around the row, not the cell.
    >
    > I've tried creating a CSS rule with border-top,
    border-left, and
    > border-bottom, but I can't figure out how to apply it to
    the cell (the
    > td).
    > Please help.
    >

  • Cell border frustration

    Apologies in advance for the slightly ranty nature of this post.
    I am not new to this stuff but occasionally it seems I'm either missing something obvious or there are flaws in the RH GUI.
    Either way I have just wasted a load of time on something that should have taken 30 seconds to do...
    I am trying to do a quick table borders tidy-up in RH10.
    As things were getting confusing, I decidede to start with a clean slate and remove all borders.
    But there are some that stubbornly refuse to go.
    I can see the code for them in the html, but nowhere in the Design Mode GUI. Grrr.
    I really don't want to have to resort to html hacking every time this happens.
    Here is an example:
    Design Mode
    Preview Mode
    It's the grey and black borders that I'm trying to remove.
    NB weird how the first 2 cells have a black border in Preview, but grey in Design mode - not WYSIWYG then?
    I won't post all the html for the table, so here's just one cell:
    <td style="border-top-width: 4px; border-top-style: Solid;"><img
                         src="ICON-PlaneEdges.jpg" alt="" style="border: none;" width="22"
                         height="33" border="0" /></td>
    You can see a border style has been set, but everywhere I look in the GUI I see no reference to this (even under Table/Style).
    Any ideas would be gratefully received.
    My only current solution is to create a new table and move the contents across.
    Bit ridiculous though...
    Thanks very much in advance.
    Cheers,
    Andy

    Hi Peter,
    Many thanks for replying again.
    >> That code does not look like a table created using one of the supplied CSS tables or a CSS table you have created in Rh.
    It was created in RH.
    I don't like using the styles though because I have no faith in the results that I get.
    So I manually format up a table in the way that I like (nice, clean and simple), and then cut and paste every where I need to use it.
    I appreciate this is a tad agricultural and not the way of the RH Svengali, but as I say I have had too many scares with RH styles in the past to bother with them.
    So in this case, I have absolutely no idea where this html coding came from:
    style="border-top-width: 4px; border-top-style: Solid;"
    >> Right click in the table and select Table Style
    Had no impact.
    Anyway, this time I have (yet again) elected to stop wasting time trying to fathom another idiosyncray of RH, and I just recreated an empty table from scratch.
    Rather frustrating for the inner geek in me, but c'est la vie.
    Cheers,
    Andy

  • Cell border removal in JTable

    I've created a JTable with a DefaultCellRenderer. I need a way of removing the border that appears around each cell(deafult yellow colour) and instead replace it with no border or a border that goes around the entire row. Any ideas?

    add this to your code, just after you create the table:UIManager.put("Table.focusCellHighlightBorder", BorderFactory.createEmptyBorder());

Maybe you are looking for

  • Unable to Activate iMessage on MacPro after adding new SSD

    Just added a SSD to my Mac Pro - wonderful speed-up having only System, Apps Library and User Folders on the drive! Using Mountain Lion v 10.8.4 But Messages v 7.0.1 will no longer work. On opening, it asks me to Enter Apple ID to activate iMessage.

  • Where is the Mp3export option in Garageband 10.0.2?

    Hi! I keep reading about the export option for mp3 on this new update of Garageband 10.0.2. I used to have the mp3 export in an older version, so perhaps I'm looking in the wrong place, but each time I try to export a file, it ends up as a AAC rather

  • Create and save custom transition

    Hi, I made a custom transition in FCP using video filters and keyframes and would like to save it to be able to use it again. Is there any way in FCP to create and save transitions? What files actually are the transitions included in FCP?

  • Cant conect "sys as sysdba" from remote

    Hi all , A strange thing happening with me .. my database is on ip(prod1) and client is ip(Host) When I make connecttion from prod1 as follows : sqlplus sys@prod1 as sysdba connected ... Its giving me sys connection . But from IP (remote HOst client

  • Double byte characters in dataset

    Hi Gurus, I encounter an issue when writing data to dataset with fixed length. Company Code: US00 Document Number: 1234567890 Fiscal Year: 2014 Line Item: 001 Short Text ( length 10 char): AF 16 Line Item: 002 Short Text ( length 10 char): AF 16  Com