How can i adjest the width of the JTable Header

hi all,
I have putted group header in JTable, due to this the width of the JTable and width of the column of the row is little bit variation. pleases suggest me any way to avoid it.
Thanks
Dayananda B V

TableColumn tCol = null;
        for(int i = 0; i <= 5; i++){
            tCol = tblData.getColumnModel().getColumn(i);
            if(i == 1)
                tCol.setPreferredWidth(130);
            else
                tCol.setPreferredWidth(30);
        }

Similar Messages

  • How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)

    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;

    Abdelqader Alnobani wrote:
    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;
    Logically a structure something like below should work BUT whether or not it will upset the FG I don't know as I wouldn't ever use it.
    <div class="gridContainer">
    Top Code Section Goes Here
    </div>
    <!-- close gridContainer -->
    <div id="fullWidth">
    Full width section goes here
    </div>
    <!-- close fullWidth -->
    <div class="gridContainer">
    Bottom Code Section Goes Here
    </div>
    <!-- close gridContainer -->

  • How can we configure the width of the table in SAP DB

    Hello sirs,
    How can we configure the width of the table in SAP DB? (<b>i.e to specify the total width of the sum of all columns</b>). I need to change the default value of table width for adding fields with biggger sizes...
    With best regards,
    Sudheesh....

    Hi,
      The restrictions for using SAPDB are available at the following link http://dev.mysql.com/doc/maxdb/en/f6/069940ccd42a54e10000000a1550b0/content.htm
      The 'internal length of the table' is 8088 bytes, which intern maps to the column width attribute.
    Can we change the column width?
    The answer is 'NO'.
    check the general Column width error (-1115) at link below where it is specified that the column width can be altered http://dev.mysql.com/doc/maxdb/en/bb/57f18204fd11d2a96c00a0c9449261/content.htm
    Refer link below for more details on the width of each column (based on the datatype associated with the column). http://orgs.man.ac.uk/documentation/mysql/manual_Column_types.html
    So we will have to judiciously look into the boundary values for each column and set the right length because if the column is char(200) and it holds a null value then length allocated is 200 bytes.
    The restriction cannot be broken.
    Regards,
    S.Divakar

  • How can I stop the add multiple bookmarks pop up from filling the width of the screen?

    Whenever I try to add more than one link to my bookmarks, the pop up that asks to add those links fills the width of the screen. It happens when I try to add all the current tabs to bookmarks, as well as when I use the add on, multi links. This makes it really hard to add links because I have to go to the other side of the screen to find the ok button.
    I want to resize the pop up to a more managable size. However, even though I should be able to resize it, I cannot figure out how. I've also tried minimizing it, but the next time I tried to gather more bookmarks, it was back to the big size again.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • How can I enlarge only the width of the submenus in my spry horizontal menu bar?

    The text in my submenus is hanging off the menu itself, but I
    can't change the size of the parent menus. The submenus can be
    wider than the parent menus, that's fine. That's what I what,
    actually.
    I've tried for two days now to figure this out and I'm really
    stuck and would appreciate any input.
    Thank you!

    "lighteyedbaby" <[email protected]> wrote in
    message
    news:go4kuq$a6a$[email protected]..
    > The text in my submenus is hanging off the menu itself,
    but I can't
    > change the
    > size of the parent menus.
    Please stop posting the same question in multiple threads. It
    wastes
    everyone's time, including your own. I have told you in
    another thread
    which selectors control the width of the submenus.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • How can i expand a Composition to the full width of the browser?

    I want to have a slideshow on the background of my site in the full browser window so i used the blank composition and added photos, I originally made it close to 2000 pixels wide and then I moved back the selection box to the browser line but for some reason it doesn't expand to the width of the browser as it would it a photo. Can someone please help?

    I think you are confused by the question
    THough muse face book answered me with a link to a work around that is not a fix to a very real bug in bot compositions widget and accordion
    Just thought I would put a note here.
    I found the id number in Inspector and targeted it by adding <style>my css</style> to the metadata head of the page:
    Page Properties
    Metadata
    HTML for <head>
    I was then able to center the text frame :-)
    on my site its not there for about 3 days start counting lol and if you want my working files I will sell em to you for good price as long as you strip out my content and change design 
    when I am done I will post
    Vancouver Web Design Home

  • How can i fix the tab overlapping when i change the width of the url bar with #urlbar-container [focused]?

    I want to create for myself the most minimalistic browser experience as possible and i've put the most used features in the title bar. For purposes of space i had to fix the width of the url bar to a minimum and my intention is to increase it to a fixed width only when #urlbar-container [focused]. The problem is that #urlbar-container will overlap the existing tabs instead of shrinking their space, making it look really bad. It looks wonderful with #urlbar-container:hover, but i can't use that since whenever i want to refresh the wesbite using the button the width of the container will increase moving the button from the place i had the mouse in the first place to click it.
    Fixed width of the url bar when #urlbar-container is not focused:
    http://imagizer.imageshack.us/v2/800x600q90/829/xo4o.png
    Fixed width of the url bar when #urlbar-container [focused]:
    http://imagizer.imageshack.us/v2/800x600q90/34/8o36.png
    This is the css i have for the url bar at the moment:
    <pre><nowiki>#urlbar-container {max-width:225px!important;}
    #urlbar-container {min-width:225px!important;}
    #urlbar-container {transition:0.7s!important;}
    #urlbar-container [focused] {max-width:500px!important;}
    #urlbar-container [focused] {min-width:500px!important;}
    #urlbar-container {transition:0.7s!important;}
    #urlbar {border-top-right-radius:10px!important}
    #urlbar {border-bottom-right-radius:10px!important}</nowiki></pre>

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I can no longer adjust the width of the Bookmarks Sidebar, how do I fix this issue?

    In the past I could hover my mouse arrow over the slider vertical bar to the right of the sidebar and get a 2 headed arrow that I could use to adjust the width of the Bookmarks Sidebar but that stopped working. I need to fix this issue. What do I need to do?

    Maybe something you installed to Firefox messed up that feature.
    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • How can I increase the width of the 'mail composer' box and put the attachment box (at present on the right) below it?

    The width of the 'mail composer' box is too narrow so that with my email program half the buttons are missing.
    == All the time

    Thanks for your swift response.
    I understand the difference between the web browser and email program.
    I have just started using Firefox from IE and IE displayed the new mail page full width.
    Firefox displays the reading web page full width but not the compose mail page because of the layout with the attachment box to the right of the box where you write your mail.
    I was hoping that there was a way to customise and change the layout.
    Is that possible?
    Andy

  • How to make a JPanel containing buttons  take up the width of the window?

    I'm creating a GUI and I have a button group that I want to be the width of the window. I have another JPanel on the same window that doesn't have a button group in it and it takes up the width of the window. I don't think I'm doing anything differently creating the two, but I need consistency.
    The best way I can explain this is with code, so I created an example of what I am doing here:
    import java.awt.*;
    import javax.swing.*;
    public class test extends JFrame {
         public test() {
              JPanel win = new JPanel();
              JPanel buttonsPanel = new JPanel();
              JPanel statusPanel = new JPanel();
              win.setLayout(new BoxLayout(win, BoxLayout.Y_AXIS));
              buttonsPanel.setLayout(new BoxLayout(buttonsPanel, BoxLayout.Y_AXIS));
              statusPanel.setLayout(new BoxLayout(statusPanel, BoxLayout.Y_AXIS));
    //          createRadioButtonsPanel
              ButtonGroup buttons = new ButtonGroup();
              JRadioButton currentMap = new JRadioButton("option1", true);
              JRadioButton newMap = new JRadioButton("option2");
              JRadioButton noMap = new JRadioButton("option3");
              buttons.add(currentMap);
              buttons.add(newMap);
              buttons.add(noMap);
              buttonsPanel.add(currentMap);
              buttonsPanel.add(newMap);
              buttonsPanel.add(noMap);
              buttonsPanel.setBorder(
                        BorderFactory.createTitledBorder("Create: "));
    //           createStatusPanel
              JLabel statusLabel = new JLabel("Loading...");
              statusLabel.setBorder(BorderFactory.createLoweredBevelBorder());
              statusLabel.setPreferredSize(new Dimension(400,20));
              statusLabel.setMinimumSize(new Dimension(400,20));
              statusLabel.setMaximumSize(new Dimension(400,20));
              statusPanel.add(statusLabel);
              JPanel statusButtons = new JPanel(new FlowLayout(FlowLayout.RIGHT));
              JButton pauseSearch = new JButton("Pause");
              JButton cancelSearch = new JButton("Cancel");
              statusButtons.add(pauseSearch);
              statusButtons.add(cancelSearch);
              statusPanel.add(statusButtons);
              statusPanel.setBorder(BorderFactory.createTitledBorder("Status: "));
              win.add(buttonsPanel);
              win.add(statusPanel);
              getContentPane().add(win);
              pack();
              setVisible(true);
         public static void main(String args[]) {
              test s = new test();
    }When I compile and run this class I get this window:
    http://img136.imageshack.us/img136/1538/exampleek5.png
    You see how on the bottom, "Status" JPanel takes up the entire width of the window? When the window is resized, the border is also resized. I would love to have the top "Create" JPanel have the same behavior. How do I do this?
    Thanks in advance!

    It can get confusing when using the BoxLayout. The box layout takes into consideration the X alignment of the components as well as the minimum and maximum lengths.
    So I suggest you read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/box.html]How to Use Box Layout for examples and explanations on how these values are used in the layout process.
    It may be easier to use a BorderLayout for the high level layout manger, since it will resize a components width when added to the NORTH, CENTER or SOUTH.

  • How to increas the width of the Table in OBIEE Report

    Hi ,
    I am creating a OBIEE report, the report has table and 30 column in it. When I am viewing the report in an excel file , its appearing good but the width of the table is so small if I am viewing the same in internet explorer/PDF .I dont know how to increase the width of the table. Could you please sort this issue out.
    Thanks
    Govindan P

    - you can increase the width of a column -> column format values -> Additional Formatting Options
    increase the width:
    - Report level:
    result tab -> Click on Format container of Table -> Additional Formatting Options
    u can assign value width : 500 height:.....
    - dashboard level:
    Edit options -> section -> Format section -> Additional Formatting Options
    here also u can change the width
    u can assign value width : 500 height:.....
    pls mark it helps....
    Edited by: 979481 on Feb 6, 2013 1:25 AM

  • How to change the width of the whole portlet layout?

    Dear all,
    As we know, now the width of portlet layout has set to 100%. But there is a new requirment from my customer that the width of the whole portlet layout view must be set to 750px.
    So I tried to edit the css file and I found a block:
    #pt-portal-content-view
         margin-top: 0px;
         width: 100%;
    I tried to change the width to 750px, but nothing happened.
    I want to know the way to change the width, thank you all!
    Regards,
    finall
    OK,I have found the place to do it:
    .portalContent          {
         display: block;
         width: 750px;
    I set to 750px,then it works.:-)
    But another question, how to make the content align to the center? I tried a stupid method, add margin-left:
    .portalContent          {
         display: block;
         width: 750px;
         margin-left: 120px;
    In 1024 X 768, it's ok, but it don't work well in 800 X 600.
    When I set the all content width to 750px, I tried the three columns view, the portlet still run over the border.If there is any way to control this? thank u in advance!
    Regards,
    finall
    Edited by finall1980 at 02/01/2007 10:09 PM

    Try this:
    .portalContent {
    display: block;
    width: 750px;
    margin: auto; /* for properly-implemented browsers */
    text-align: center; /* for IE 6 */
    As for running over the 750px, there's nothing you can do about that other than actually narrowing the columns AND making sure that your portlet authors don't produce content that's too wide.
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com

  • How to increase the width of the drop down list box in SSRS multi value parameter

    Hi,
    I am using SSRS 2012. I have a parameter, which accepts multi value.
    The width of the drop down list box is very small, and the user need to scroll to the right to view the complete view of the content in the list box. But, if I don't use multi value then the length is good.  Kindly suggest how to I increase the width
    of the list box when it set to multi value parameter.
    Thanks in advance,
    Mahalengam Arumugam

    Hi Mahalengam,
    After testing the issue in my local environment, I can reproduce it. When the values for a single parameter are too long, the drop-down list of the parameter will automatically enlarge to an appropriate size. While the values for a multiple parameter are
    too long, we need to scroll to the right to view the complete view of the content in the list box in SSRS 2008. But in SSRS 2008R2 and SSRS 2012, we can directly drag the black control at the bottom of the list box to control the size.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support
    Hi Katherine,
    Thanks for your reply. I understood we need to drag the list box to a maximum size to view the contents.
    But, this seems an additional task, i know this is a limitation in the current version of SSRS and hope it will be resolved in the next versions.
    Thanks for your efforts,
    Mahalengam Arumugam

  • How do I change the width of the x-scrollbar for a waveform graph?

    I have a LV7.1 application that contains a waveform graph and must be usable on several PC with widely varying screen resolutions.  I have decided to position and scale the front panel objects programatically, including the graph itself.  The appearance of the graph is satisfactory on all screens, except for the x-scrollbar.  The width of the x-scrollbar does not change when I change the size of the graph.  I cannot figure out how to change the width of the scrollbar programatically to match the adjusted size of the graph.  Any suggestions?
    Regards,
    Chris

    Chris,
    I don't think that you can change the width of the x axis scroll bar programatically.  One thing you could do though is create your own scrollbar and change it's properties as your program runs.  I wrote a quick example of how you could do this and I've attached it to this thread.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    ChangeXScrollbar.vi ‏116 KB

  • How to change the width of the variable screen?

    Hi
    like in the subject mentioned i need to know how i can change the width of the variable screen....
    right now i have to scroll if i want to see the right part auf the variable screen...
    maybe i can change the width with css?

    Hi,
    Using CSS specify the table width for the variable screen and include the Css in the header section of the table.

Maybe you are looking for

  • The "print" button doesn't work

    Hello, I have a problem with the "print" button, in a Macbook Pro 15" 2.8GHz. In all the programs, when I want to print anything, I go to file/print/print. Well, when I press the "print" button, it doesn't work, but in "Word" when I press the "print"

  • Portal Server 7.2 gui installer

    We are installing Portal Server 7.2 in a sun sparc solaris 10 server thru remote desktop. The gui installer screen is not completely showing up and mostly white. ANy reason why it is so?

  • Gnome clock and timezone problems

    When I run "date" in the terminal, it says "Wed Sep  3 20:56:39 CST 2008" even though I'm in australia/adelaide. I try setting the timezone from right-clicking the gnome clock, but after I login/out, it just resets to "America/Indiana/Tell City" Help

  • ¿Cómo hago para recuperar mis iconos de la barra de marcadores?

    Desde que descargué la última versión unos salen (como Google Drive y Blogger) y otros no (como Facebook, Google Maps, correo Hotmail y correo Yahoo). En su lugar me aparece el icono de una hoja blanca con una esquinita doblada, cosa que no ayuda muc

  • Dock not sending sound, Dock not sending sound anymore in iPhone 4

    My iPhone isnt sending sound through The Dock, but it charges, what should i do?? What could it be?