Making some columns non-resizable in JTable

Hi,
In my Application i need to make some columns non-resizable and some columns needs resizability.
If anybody done this,please help me.
Thanks in advance.
Vattikuti

Look at some of these
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=forum%3A57&qt=%2Bjtable+%2Bcolumns+%2Bresizable

Similar Messages

  • Making some rows non-editable in ALV grid

    hi
    I am using reuse_alv _grid _display to display the output. I want to make some of the rows non-editable based on some conditions. please help.

    Hi Vijay / Manisha / Murugan
    Is this question answered? The link is presently not working.
    I have a same requirement. I am using reuse_alv _grid _display to display the output. After click on 'Add row'
    button, the alv should add a row in edit mode and remaining all other rows in display mode. Is that possible using reuse_alv _grid _display?
    Any kind of inputs regarding this will be damn damn helpful. Thanks.

  • How to make only one column non reorderble

    I want to make only one column (Column 0) of my JTable non reorderble.
    I also want to make the same column non resizable and I want to give it a specific size.
    Please help me on this?

    I have implemented a RowHeaderTable class which displays 1, 2, 3, ... in the first column. The column is in the scrollpane's RowHeaderView, so it is not resizable nor reorderable. But its width can be set in your code. Maybe this is what you need.
    Use the class the same way you use a JTable, except 3 added methods:
    getScrollPane();
    setMinRows(int r);
    setRowHeaderWidth(int w);
    Note: The table works perfectly in skinless L&F, such as the default java L&F. It looks ugly in Liquid L&F because I don't know how to steal column header's UI to use on a JList. If someone can help me on this one, I thank you in advance.
    * RowHeaderTable.java
    * Created on 2005-3-21
    * Copyright (c) 2005 Jing Ding, All Rights Reserved.
    * Permission to use, copy, modify, and distribute this software
    * and its documentation for NON-COMMERCIAL purposes and without
    * fee is hereby granted provided that this copyright notice
    * appears in all copies.
    * JING DING MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
    * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING
    * BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. JING DING
    * SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT
    * OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
    import java.awt.BorderLayout;
    import java.awt.Component;
    import javax.swing.AbstractListModel;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.ListCellRenderer;
    import javax.swing.UIManager;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.JTableHeader;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableModel;
    * @author Jing Ding
    public class RowHeaderTable extends JTable {
      private int minRows = 10;                         // Minimum size of the row header.
      private static final int DEFAULT_WIDTH = 30;
      private JScrollPane jsp;
      // The row header is a JList with the same appearance as the column header.
      private JList rowHeader;
      // Repaint row header whenever the table inserts or deletes rows.
      private TableModelListener tmListener = new TableModelListener(){
        public void tableChanged(TableModelEvent e){
          if(e.getType() != TableModelEvent.UPDATE)
            rowHeader.repaint();
      /** Create a new instance of RowHeaderTable.
       * @param model
      public RowHeaderTable(TableModel model){
        setModel(model);
        initializeHeader();
        jsp = new JScrollPane(this);
        jsp.setRowHeaderView(rowHeader);
      private void initializeHeader(){
        rowHeader = new JList(new AbstractListModel(){
          public int getSize(){ return Math.max(getModel().getRowCount(), minRows); }
          public Object getElementAt(int index){ return "" + ++index; }
        setRowHeaderWidth(DEFAULT_WIDTH);
        rowHeader.setFixedCellHeight(getRowHeight());
        rowHeader.setCellRenderer(new TableRowHeaderRenderer());
      public void setRowHeaderWidth(int w){
        rowHeader.setFixedCellWidth(w);
      public void setMinRows(int m){ minRows = m; }
      public void setModel(TableModel model){
        super.setModel(model);
        model.addTableModelListener(tmListener);
      /**Use this method to get the scrollPane, instead of new JScrollPane(table).
       * @return
      public JScrollPane getScrollPane(){ return jsp; }
      protected class TableRowHeaderRenderer implements ListCellRenderer{
        TableCellRenderer colHeaderRenderer;
        public TableRowHeaderRenderer(){
          JTableHeader header = getTableHeader();
          TableColumn aColumn = header.getColumnModel().getColumn(0);
          colHeaderRenderer = aColumn.getHeaderRenderer();
          if(colHeaderRenderer == null)
            colHeaderRenderer = header.getDefaultRenderer();
        public Component getListCellRendererComponent(JList list, Object value,
            int index, boolean isSelected, boolean hasFocus){
          return colHeaderRenderer.getTableCellRendererComponent(
              RowHeaderTable.this, value, isSelected, hasFocus, -1, -1);
      public static void main(String[] args){
        try {
          UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
        }catch (Exception e){ e.printStackTrace(); }
        String[] columnNames = {"First Name",
            "Last Name",
            "Sport",
            "# of Years",
            "Vegetarian"};
              Object[][] data = {
                   {"Mary", "Campione", "Snowboarding", new Integer(5), new Boolean(false)},
                   {"Alison", "Huml", "Rowing", new Integer(3), new Boolean(true)},
                   {"Kathy", "Walrath", "Knitting", new Integer(2), new Boolean(false)},
                   {"Sharon", "Zakhour", "Speed reading", new Integer(20), new Boolean(true)},
                   {"Philip", "Milne", "Pool", new Integer(10), new Boolean(false)}
        DefaultTableModel dtm = new DefaultTableModel(data, columnNames);
        RowHeaderTable rht = new RowHeaderTable(dtm);
        rht.setMinRows(0);
        JFrame frame = new JFrame("RowHeaderTable Demo");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().add(rht.getScrollPane(), BorderLayout.CENTER);
        frame.pack();
        frame.setVisible(true);
        dtm.addRow(new Object[]{"Mary", "Campione", "Snowboarding", new Integer(5), new Boolean(false)});
        dtm.addRow(new Object[]{"Mary", "Campione", "Snowboarding", new Integer(5), new Boolean(false)});
        dtm.addRow(new Object[]{"Mary", "Campione", "Snowboarding", new Integer(5), new Boolean(false)});
    }

  • Making a particular Column Non Editable

    Hi all,
    My question is that ... i ahve created a jtable in default table model ........
    And i have maked a column as a row header .. by using table column model..And the problem is that the column which has been made as a rowheader is in editable mode .. i want to make it non editable .. it is possible or not
    here is my code
    TableColumnModel Tc1 = new DefaultTableColumnModel() {
                    boolean first = true;
                    public void addColumn(TableColumn tc) {
                      // Drop the first column . . . that'll be the row header
                      if (first) { first = false; return; }
                      tc.setMinWidth(110);
                     super.addColumn(tc);
              TableColumnModel rowHeader = new DefaultTableColumnModel() {
                    boolean first = true;
                    public void addColumn(TableColumn tc) {
                      if (first) {
                        tc.setMaxWidth(36);
                        super.addColumn(tc);
                        first = false;
              model1= new DefaultTableModel(100,10);
              tb=new JTable(model1,Tc1);
              tb.setRowHeight(20);
              tb.createDefaultColumnsFromModel();
              tb.setPreferredScrollableViewportSize(new Dimension(770,350));
              JTable headerColumn1 = new JTable(model1, rowHeader);
              headerColumn1.createDefaultColumnsFromModel();
               headerColumn1.setCellSelectionEnabled(false);
              headerColumn1.setRowHeight(20);
              headerColumn1.setBackground((Color)UIManager.get("TableHeader.background"));
              tb.setSelectionModel(headerColumn1.getSelectionModel());
              tb.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
             headerColumn1.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
             headerColumn1.setSelectionBackground(Color.lightGray);
             headerColumn1.setColumnSelectionAllowed(false);
             JViewport jv1 = new JViewport();
             jv1.setView(headerColumn1);
             jv1.setPreferredSize(headerColumn1.getMaximumSize());
              jsp = new JScrollPane(tb);
              jsp.setRowHeader(jv1);

    override isCellEditable(int row, int column) as:
    public boolean isCellEditable(int row, int column){
          return ( column != nonEditableColumnIndex ? true : false);
    }cheers
    DB

  • How could I display some columns in a JTable?

    Help, please:
    I got a Table data(using AbstractedTableModel), and I can display all rows and columns. How can I just display several columns and all rows? Should I delete some columns from table and fireChanges or what? but I need these columns later. Make sense? any ideas?
    Thanks for any helps.
    Royan

    this worked for me,
    import java.util.*;
    import java.io.*;
    import java.net.URL;
    import java.sql.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class HideTableColumns
          public HideTableColumns()
          private void initialize()
          DefaultTableModel m = new DefaultTableModel();
          try {
             java.util.Vector data = new java.util.Vector();
             java.util.Vector headers = new java.util.Vector();
             String s = "";
             headers.addElement( "OrderID" );
             headers.addElement( "CustomerID" );
             java.util.Vector datum = null;
             datum = new java.util.Vector();
             s = "OrderID";
             datum.addElement( s );
             s = "CustomerID";
             datum.addElement( s );
             data.addElement( datum );
             m.setDataVector( data, headers );
             for( int r = 0; r < m.getRowCount(); r++ )
                for( int c = 0; c < m.getColumnCount(); c++ )
                s = ( m.getValueAt( r, c ) ).toString();
                System.out.println( s );
          } catch( Exception e ) {
             System.out.println(e.getMessage());
             e.printStackTrace();
          JFrame f = new JFrame();
          JPanel p = (JPanel) f.getContentPane();
          JTable tb = new JTable( m );
          TableColumn col = tb.getColumnModel().getColumn(1);
          col.setPreferredWidth(0);
          col.setMinWidth(0);
          col.setMaxWidth(0);
          p.add( tb );
          f.pack();
          f.show();
          public static void main( String[] args )
          HideTableColumns d1 = new HideTableColumns();
          d1.initialize();
    }

  • Making a seperate frame non resizable

    Is it possible to make a seperate frame non-resizable and if so how? If I set the resizable property of the window then this simply makes the browser non-resizable rather than the seperate frame. Is there some PL/SQL code that can do this for me or is it possible to set this in the forms web config? Thanks for any help
    Dan

    I have tried this method, it looks like it should run, but when i compile it the browser displays................
    "Untitled1.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: neither class nor source found for java.lang.Object
    public class Untitled1 extends Component {
    public void createPanel()
    JFrame frame = new JFrame();
    frame.setUndecorated(true);
    frame.setLayout(new BorderLayout());
    MyDisplay test = new MyDisplay(frame);
    test.setLayout(new BorderLayout());
    frame.add(test, BorderLayout.CENTER);
    JLabel label = new JLabel("This is just a test");
    test.add(label, BorderLayout.CENTER);
    frame.pack();
    frame.setSize(500, 500);
    // make sure you pack and/or set size first...
    Dimension dS = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension dF = frame.getSize();
    // make sure it's not off screen
    int x = (dS.width/2)-(dF.width/2);
    int y = (dS.height/2)-(dF.height/2);
    if(x < 0) x = 0;
    if(y < 0) y = 0;
    frame.setLocation(x, y);
    frame.setVisible(true);
    contentpane.add(sc);
    jscrollpane sc = new jscrollpane();
    jtextarea ta = new jtextarea();
    /**Main method*/
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    new untitled1();
    Do you know how i can correct this erreor!

  • JTable - Disable some columns

    How should I disable some columns in a JTable so that they cannot be edited at all? The methods provided do this but double clicking the column enables it.

    Hi
    i dont know whether u r using TableModel or not.
    if ur using a customTableModel for ur entries ..
    u can implement the following method of
    Table Model Interface.
    public boolean isCellEditable(int rowIndex,
                                  int columnIndex)then implement in such a way that ..
    compare always with ur column number and return false.
    as follows.public boolean isCellEditable(int rowIndex,
                                  int columnIndex){
    if (columnIndex ==4 )
    return false;
    else
    return true;
    }above code makes all cells in the col=4 uneditable.
    even u rearrange the cols in table it works as per documentation.
    test this .. and let me know whether u succeeded r not.
    note: i think The implementation of this method in AbstractTableModel or defaultTableModel
    returns true always.
    thanks

  • How to resize JDialog after making some fields invisible?

    Hi,
    I have many fields in a JDialog box. And I am making some of them invisible (based on some logic).
    Even though I am using invisible, the dialog size is not resized automatically.
    I can see so much space and it is not good.
    Is there any way so that I can resize this dialog?
    Regards,
    Praveen

    Praveen_Kumar_Jayaram_1985 wrote:
    But I am not using any layout manager. It is free design. Is there any way to achieve my requirement without using layout manager?But this is what layout managers are made for. Why not use the correct tool for the job? Also, please do not cross-post questions in multiple forums. This will frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. For this reason, many volunteers here and at the other sites refuse to help repeat offenders.

  • Finder list view name column keeps resizing!

    I mainly use list view in Finder, and I mainly use windows (as opposed to fullscreen) because I like dragging and dropping between them (dragging and dropping in fullscreen with tabs is rather cumbersome).
    Anyway, the name column keeps resizing on me, going from what I have it set to (usually double-clicked to make it fit all filenames) to suddenly being small enough that all the other columns fit in the window without a horizontal scroll bar. This has been happening ever since I upgraded to Yosemite and happens every time I open a new Finder window, expand a folder, move a file, etc. It's incredibly frustrating!
    I was surprised to not find much about this problem mentioned around the web, so I imagine it must be some setting or something specific to my machine. Any help in figuring out how to make it stop doing this would be much appreciated!
    Thanks!

    Sorry, no, preferences in the sense of what I prefer, but I believe view options (command J) are stored in DS_Store files, as well as list view column data, such as date added, date modified, name, kind, size, etc (except for some folders such as network, computer and meetingroom/airdrop?) which are stored in com.apple.finder.plist).  You probably know that you can select which columns display in view options.  Perhaps a temporary workaround would be to switch off other visible columns to display only name or name and one other preferred column to increase space available.  However, myself and another suspect this the problems I described as a bug, and I would have to think your issue is part of that bug.  It seems all related, no? For example, in my Downloads folder, I select to hide "Date Modified", show "Date Added", and arrange by "Date Added".  Maybe it will still show if I close the window and reopen the Downloads folder, maybe it will not, maybe it will change completely to Icon View despite have "always open in list view" being selected in view options.  In any case, after a restart, it will revert back to list view, with "Date Modified" showing and being arranged by "Name".
    Sent feedback to apple, maybe will help if you do as well:
    Mac OS X - Feedback

  • How to forbid Column-Moving in a JTable ?

    Hi,
    anyone knoyw how to forbid the Column-Moving in a JTable ??
    I have a JTable that works fine, but it is still allowed to move the columns. And i want to forbid that.
    This: JTableHeader header = new JTableHeader();
    header.setResizingAllowed(false);
    header.setReorderingAllowed(false);
    did not work :-\
    Maybe someone has some ideas and could help me?
    Thx and have a nice day
    Avalon

    >
    Where's your thread, GoldieDork? You do nothing
    besides trolling.no I don't, I ask Java questions but no one answers them apart from the database question where dave and jverd and rage were all nice to me and I was happy that we could all be friends cos they helped me but then they started cussing me again so thats why I no longer talk to those guys.
    I dont know where my thread is now, Sun probably deleted it

  • How create report with data from table and some columns results function ?

    Hi,
    How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
    for example , I want to create a report like that:
    device last_date error_msg stop/start
    kodak1 06/04/08 null >>
    kodak2 08/03/08 good msg --^--
    kodak3 08/04/08 err msg >>
    3 rows returned
    where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)

    Thomas,
    There is no problem here -- this is fully suported scenario.
    1. Bind Table dataSource to Customers node.
    2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
    Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Problem every time i want to drag and drop some columns

    I was working in some columns , then in column properties i uncheck box : Wrap Text from TAB : Styles
    then i save as system-wide default as data type ! i got this message error :
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/savedformat/v1.1"><sawsavedformat:datatypeSavedFormats><sawsavedformat:datatypeFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" datatype="GDT:real"><saw:displayFormat><saw:formatSpec suppress="suppress" wrapText="true" visibility="visible" hAlign="right" vAlign="top" imagePlacement="right"><saw:dataFormat xsi:type="saw:number" commas="false" negativeType="minus" minDigits="0" maxDigits="0"/></saw:formatSpec></saw:displayFormat><saw:tableHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:tableHeading><saw:columnHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:columnHeading></sawsavedformat:datatypeFormat><sawsavedformat:datatypeFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" datatype="GDT:text"><saw:displayFormat><saw:formatSpec suppress="suppress" wrapText="false" visibility="visible" hAlign="left" vAlign="top" noWrap="true" imagePlacement="left" interaction="drill"/></saw:displayFormat><saw:tableHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:tableHeading><saw:columnHeading><saw:displayFormat><saw:formatSpec interaction="drill"/></saw:displayFormat></saw:columnHeading></sawsavedformat:datatypeFormat></sawsavedformat:datatypeSavedFormats></sawsavedformat:metadata> Line:2, Col:1116, Attribute 'noWrap' is not declared for element 'formatSpec'
    This problem annoying me even i cannot drag and drop to build my Answer Report in some column :( ... teee heeee ... anyone can help me , also a pop up message show this :
    The current xml is invalid with the following errors:
    Bad xml instance!
    <?xml version="1.0"?>
    <sawmd:reportMetadata xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawmd="oracle.bi.presentation/reportmetadata/v1" subjectArea="&quot;MINISTRY_STD_ATT&quot;"><sawmd:columnInfo xsi:type="sawmd:regularColumnInfo" columnID="ceb07bca5c4142c11" baseFormula="&quot;EDC_STUDENT_REGISTRATION&quot;.&quot;NOTE&quot;" resolvedFormula="&quot;EDC_STUDENT_REGISTRATION&quot;.&quot;NOTE&quot;" writeEnabled="false" picklistEnabled="false" multivalueEnabled="false"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;EDC_STUDENT_REGISTRATION&quot;.&quot;NOTE&quot;</sawx:expr></saw:columnFormula><sawmd:SQLInfo dataType="varchar" nullable="true" aggType="nonAgg" aggRule="none" category="text" primaryType="text" displayFormula="&quot;EDC_STUDENT_REGISTRATION&quot;.&quot;NOTE&quot;" sqlFormula="&quot;MINISTRY_STD_ATT&quot;.&quot;EDC_STUDENT_REGISTRATION&quot;.&quot;NOTE&quot;" hasSortKey="false"/><sawmd:columnDefaults><saw:tableHeading><saw:caption><saw:text>EDC_STUDENT_REGISTRATION</saw:text></saw:caption></saw:tableHeading><saw:columnHeading><saw:caption><saw:text>NOTE</saw:text></saw:caption></saw:columnHeading><saw:displayFormat><saw:formatSpec suppress="suppress" visibility="visible" hAlign="left" vAlign="top" noWrap="true" imagePlacement="left" interaction="drill"/></saw:displayFormat></sawmd:columnDefaults></sawmd:columnInfo></sawmd:reportMetadata>
    Line:2, Col:1402, Attribute 'noWrap' is not declared for element 'formatSpec'

    Hi,
    Did you find a solution to this. I am also seeing the same error in 11g 11.1.1.5
    My Scenario:
    I have drill-in place enabled for a report column and I drill-down on Product Category column to get the breakdown by Product Names. So far good. Then when I click on the 'Analyze' report link I get the below error.
    Error Displaying Results
    The current xml is invalid with the following errors: Bad xml instance!
    This use case was working fine in 10G.
    --Joe                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Replicate column changes into other JTable(s)?

    I have a set of tabs in a JTabbedPane which show the results of a database query from a number of (allegedly) identical databases. Each tab contains a JScrollPane which contains a JTable. All the JTables share the same table model and the data is not editable.
    If the user changes a column (e.g. resizing or moving it) in one JTable I would like the change to be automatically replicated on the equivalent column in the other JTables.
    Is there a simple way to do this?

    Hi,
    Every change in one table produces special event , you should add a "listener" to reflect changes.

  • How can I prevent the text in non-resizable contexts from being cut off?

    I have not changed the Application, System, or Dialog fonts from their defaults.  
    This is the result:
    Related:  http://forums.ni.com/t5/LabVIEW/text-in-non-resizable-windows-is-cut-off/td-p/92300

    Medium might be the default for high ppi monitors but it is very different from the original windows settings that were used when 96 ppi was standard. Of course for a high resolution FullHD resolution on a 15 inch screen you end up with a ppi of around 150ppi.
    This article explains somewhat the history of where 96ppi came from and that it was in fact already a convinient misrepresentation of the real values. The problem is partly that LabVIEW makes some assumptions about the size of text based on the actual ppi settings while the rendering of the text as done by Windows can be scaled by your control panel adjustment. However the solution is not as trivial as replacing all assumbtions about the size of text by the new values as that won't always give the correct values either and also has quite a lot of other issues such as controls suddenly looking very oversized when moving a front panel from a low ppi device to a high ppi device. Basically the way Windows deals with screen resolution and different ppi makes it simple for Windows to render text on a display without ugly aliasing effects but makes it impossible for an application to both be text and size accurate when rendering windows like a LabVIEW front panel.
     It's also a reason why so called retina displays still don't really work under Windows while IOS has them already for quite some time.
    Ravens Fan, Windows 7 has Normal (100%), Medium (125%) and Larger (150%). To maintain the relative text size on an old CRT for a FullHD 15 inch labtop display one would have to use the Larger setting, which is outright ugly. I personally use Smaller on all my Windows 7 labtops because of issues like the LabVIEW front panels rendering but also many other applications get into trouble otherwise. Yes it looks kind of small on my FullHD 15 inch LCD monitor, but at least it is all consistent.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Resizing the JTable Cell horizontal width

    Sir/Madam,
    How can i resize the JTable cell's horizontal width. I know the JTable's column width can be resized. I dont want to resize the entire JTable column. But i need to resize individual JTable cell's horizontal width. Thanks in advance.

    I think that's not possible. What kind of results are you expecting ? If the cells of a column are different widths, what are you going to do with the extra space of the narrower cells ?
    What are you displaying in the cells ? Maybe you can narrow the contents of the cells, and not the cells.

Maybe you are looking for

  • Report generation using jsp

    I am developing a website using jsp on tomcat.The site required a number of online report generation option from database(mysql). My problem is- 1.how to generate different types of report other than simple html tag embedded within jsp . 2.How to sto

  • Why won't adobe reader print a .pdf?

    I have worked on this Mac at my job for 3 years. Much of my job is online research, and I frequently print .pdf documents, or "Open .pdf In Preview" and select pages to print. About 2 weeks ago I found that .pdfs would no longer print or Open In Prev

  • Security Cannot authorize taskflow "VIEW"

    I have setup a sql authenticator in Weblogic and built the tables. I have the login screen, welcome page and a taskflowCall to the menu page. (all ADF) I can get to the login and back to the welcome screen and navigate to the menu. I have verified th

  • Calling a package function inside a sql

    Hi friends!!! First of all happy Christmas! And them please help! :) We have a query calling a package function: SELECT * FROM DW025H WHERE DW025H_NR=MPPCI.ENCR ('0000000000000000');There is a primary key just with one column DW025H_NR and the proble

  • Pack existing Handling Units into outbound delivery

    Hi, The current scenario is that a WHSCON IDoc is passed into SAP which will pack handling units onto an inbound delivery. As part of this processing the IDoc will create the HU records on VEKP. Now, we are sending in a similar WHSCON IDoc to pack th