Problems with the cell in the table borders

I'm trying to get a solid pt 2 on the left side of the first green column.  Even though I have selected the entire table and chose to not not for shots of the border, when I apply the 2pt stroke left side, there are white lines at the intersection of each cell in the row.  I am attaching the file and a screenshot (if the screenshots are here - I'm obviously new).  Thank you!

Application View.jpg

There is a 1 pt stroke applied to the horizontal. I had terrible luck, myself, with the formatting of the tables, but if you select the cell, and then select only the horizontal lines in the formatting options, you can set them to 0 and they will go far.

Tags: InDesign

Similar Questions

  • Problem with the table of contents pages and books

    I use 8 HR and generate Webhelp.

    I created a project and had to change a few pages of table of contents and create TOC books instead. I deleted the pages and added books, with the same name. HR, it looks fine, but when I generate the table of contents for the page instead of the book. I tried to clear my cache in Internet Explorer, and the deletion of the page again. Still no help. I rebooted and even rebooted and still have the same thing. Can someone tell me how to solve this problem?

    Thank you.

    Indeed if a book has nothing in it, it will not appear in the table of contents. When you think about it, it is very logical. Why would you want a book to appear if nothing was inside?

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7 or 8 days - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • Problem with the Table result variable

    When you save a document structured in XML, the Table Continuation variable is translated to an entity named "fm.tcont".

    Strangely, the content of the entity is a control character (0 x 11). The file is saved in XML format, but the Analyzer Returns an error,

    Error message to the file d:\test\100219\doc_test.xml.1F0, line 31, char 22,: Invalid character (Unicode: 0 x 11)
    Error on line 31, tank 24, Message: expected a value of literal entity or PUBLIC/SYSTEM identifier
    Parse error on line 31, tank 20: not well formed (invalid token)
    The abandoned analysis.

    The contents of the variable nothing suspicious, it's just '(continued)', where the first character is a normal space.

    If someone had the same problem and knows how to fix?

    It's on FM8.0p277 on Windows XP.

    Thank you very much in advance,

    Johannes

    Johannes,

    I don't have the direct response, because I've never tried. But my EDD has a TableContinuation element that is empty; ESD inserts the table continuation variable. When you export to XML, the element is there as a "marker"; It has NO content. When open in the frame, ESD inserts the variable again. My reasoning is that the table continuation variable has meaning ONLY within FrameMaker. It's a formatting object, not a content container. No post processing of the XML data would not need if so, ITS engine could provide what it is able to understand.

    Anyway, here's how I deal with it.

    Good luck
    Van

  • Page indent the problem with the table of contents entries...

    I have a few entries of table of contents running on more than one line. I would like the text to be indented from the establishment right indent/margin so that text does not as far as the Page numbers on the right margin of the text TOC block extend existing. I put a tab on the right so that the page numbers are tabulated on the right edge of the frame, but if I bring you the right margin with several (currently 5 mm) indenting, I can't have a tab stop to the page outside of the right margin.

    If I insert soft-return/new line tanks they wil get lost every time I have rebuild the table of contents (there will be a lot of it!)

    Any ideas, I'm sure it happens all the time for designers of the book.

    The same way you have a withdrawal of first line, on the left there is a final withdrawal of the straight line. You can set the right two inches (for example) withdrawal and removal of stretch to neutralize two thumbs, all on a single line will go completely to the right of the frame, and any point edge requiring line breaks will break two inches to the left of the right edge of the frame, while the last line will go to the right edge.

  • addChild does not add my mcs. Problem with the table.

    I think that my table is wrong but I do not know why

    SerializableAttribute public class GameSunnyFly extends MovieClip {}

    private var v: Number = 8;

    varObject:String private var;

    i: Number private var;

    arrayObjects:Array private var;

    soundArray:Array private var;

    soundClip:Sound private var;

    randomnumber:Number private var;

    contadorHits:uint private var;

    private var notTweening:Boolean = true;

    tweenedObject:MovieClip private var;

    tiempoTotal:uint private var;

    tiempoTimer:Timer private var;

    clickPoint:Point private var;

    public void GameSunnyFly() {}

    setObjects();

    this.tiempoTotal = 60;

    this.i = 1;

    this.varObject = arrayObjects [i-1];

    this.clickPoint = new focus();

    this.tiempoTimer = new Timer (1000, this.tiempoTotal * 1000);

    this.tiempoTimer.addEventListener (TimerEvent.TIMER, this.onTimerTiempoTimer);

    this.tiempoTimer.addEventListener (TimerEvent.TIMER_COMPLETE, this.onTimerCompleteTiempoTime r);

    this.tiempoTimer.start ();

    this.setSounds ();

    this.addEventListener (Event.ADDED_TO_STAGE, this.onAddedToStage);

    this.soundArray [i - 1] .play (0,999);

    / / make an instance of the library class + addChild Stadium

    function setObjects (): void {}

    var object1:Object1Class = new Object1Class; On the export of the library, you create a custom class + in the code, you must create an instance of this class with the new

    var object2:Object2Class = new Object2Class; Naming Convention better for custom classes to make them more obvious.

    var object3:Object3Class = new Object3Class;

    var object4:Object4Class = new Object4Class;

    var object5:Object5Class = new Object5Class;

    object5, object3, this.arrayObjects = [object1, object2 object4]; You can write like that, or use push

    trace(this.arrayObjects[i-1]); (undefined)

    addChild(this.arrayObjects[i-1]);

    }

    }

    Your builder creates the table arrayObjects when it calls setObjects, but the value because I has not yet been initialized if the lines

    trace(this.arrayObjects[i-1]); (undefined)

    addChild(this.arrayObjects[i-1]);

    are most likely resulting in errors because I would have the default value for a certain number of NaN the

    try to put the

    This.i = 1;

    before the setObjects()

    call in your constructor.

  • problems with the table of contents and index

    I do the localization for the Japan, so I'm all nice and good in Japanese (themes, table of contents and index), however, after compilation, only the TOC and India are in a font that does not support Japanese characters.
    Does anyone have any ideas how to solve this problem?
    Thank you

    Thank you Pete, it's part of the solution.
    In fact, what I discovered on a German forum for RoboHelp, is to set the machine to the locale for the country, and the location is made. I installed the language support pack before my problem and so I was able I was translating into topics. The problem appeared when I tried my first compilation. The subjects were still in Japanese, that I translated, but the table of contents and the index and were the only ones who wrote in a totally unknown style (not Japanese English and not another language, I know).
    Now that I've changed the location of my system, it works.
    So, I think that this should be a first improvement for RoboHelp, right? They boast that they support 35 languages, however the support isn't quite... finish, huh?
    Furthermore, the error message continues to come even after all these changes, but I don't like too much about this, I get what I need.
    Thanks again Pete for the solution and the quick response.

  • Problem with the table editor

    Hi again,

    in the user interface editor, I set up a table with 7 columns, including a tag line. Now I have 3 column is the column on the right. as a result, I chose 3 column, pressed '' Cut column '', and indeed, the column is part. However, I can't do to stick to the right place: if I select the column 6, or 7, or 8 and then press the button "Paste the column", the old column 3 gets stuck, but never in the last column, but in the penultimate...

    What's wrong?

    Thank you

    Wolfgang

    Hi Johannes,

    I solved 'the problem' slightly different cutting and repasting of the right :-) column Thanks anyway!

  • Problem with the Tables of the Buliding warehouse...

    Hi all

    I want to try to create tables DWH via Dac.but now I have error
    takes i.e) Done.some will be fail.we use Sibel 8.1.1 System.
    Once I chicked my logfile.

    createwtables.log

    Siebel Enterprise Applications ODBC import utility, Version 7.7 DDL [18030] ENU
    Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.

    This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
    San Mateo, CA 94404.

    The user accepts that any use of this software is governed by: (1) the there is
    the user limits and other conditions of the license agreement which
    has been concluded with Siebel Systems or their dealers. and
    (2) the notice of rights exclusive and limited included in this software.

    WARNING: THIS SOFTWARE IS COPYRIGHTED BY THE AMERICAN AND INTERNATIONAL.
    ANY REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PART
    OF IT, MAY RESULT IN HEAVY CIVIL AND CRIMINAL PENALTIES, AND WILL BE
    BEING PROSECUTED TO THE EXTENT POSSIBLE UNDER THE LAW.

    If you received this software by mistake, please notify Siebel Systems
    immediately at (650) 295-5000.

    C:\orahome\10gR3_1\bifoundation\dac\UTILITIES\BIN\DDLIMP/i N/s N/u OLAPUSER/p * / OLAP_USER/g SSE_ROLE/f C:\orahome\10gR3_1\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl/b/k/x/w Y c

    Connecting to the database...
    Connected.

    Reading tables and DDL file indexes...
    Read 1110 tables and indexes the DDL file 0...

    Existing scheme of reading...
    Read the tablespaces 0, 0 tables and the indexes 0 a schema from existing...

    Running the SQL statements to the database...

    S1000: [DataDirect] [ODBC Oracle driver] [Oracle] ORA-01031: insufficient privileges

    create table M_10A_ORG_D)
    Number DATASOURCE_NUM_ID (10, 0) not null,
    Number (10, 0) ETL_PROC_WID default 0 non-zero.
    Number (10, 0) GEO_WID default 0 non-zero.
    INTEGRATION_ID varchar2 (30 char) not null,
    Number (10, 0) ROW_WID default 0 non-zero.
    Char ACCNT_FLG (1 car).
    ACCNT_REVN (22: 7), the number
    Char ACTIVE_FLG (1 car).
    Char CHANNEL_FLG (1 car).
    CHNL_ANNL_SALES (22: 7), the number
    Char COMPETITOR_FLG (1 car).
    Date of CREATED_DT,
    Char DIVN_FLG (1 car).
    EMP_COUNT (22: 7), the number
    Date of FORMED_DT,
    HIST_SLS_VOL (22: 7), the number
    Char ORG_FLG (1 car).
    Char ORG_PRTNR_FLG (1 car).
    Char PROSPECT_FLG (1 car).
    Date of PRTNRSHP_START_DT,
    Char PRTNR_FLG (1 car).
    PRTNR_SALES_RANK (22: 7), the number
    PTNTL_SLS_VOL (22: 7), the number
    Date of PTSHP_END_DT,
    Char PTSHP_FEE_PAID_FLG (1 car).
    Date of PTSHP_RENEWAL_DT,
    PTSHP_SAT_INDEX (22: 7), the number
    Char PUBLIC_LISTING_FLG (1 car).
    Number SALES_EMP_CNT (10, 0),
    Number SERVICE_EMP_CNT (10, 0),
    U_ACCNT_RVN (22: 7), the number
    Date of U_ACNTRVN_EXCH_DT,
    U_CHNL_ANNL_SLS (22: 7), the number
    Date of U_CH_ASLS_EXCH_DT,
    U_HIST_SLS_VOL (22: 7), the number
    Date of U_HST_SLS_EXCH_DT,
    Date of U_PTL_SLS_EXCH_DT,
    U_PTL_SLS_VOL (22: 7), the number
    ACCNT_LOC varchar2 (50 char),
    ACCNT_STATUS varchar2 (30 char),
    ACCNT_STATUS_I varchar2 (50 char),
    ACCNT_TYPE_CD varchar2 (30 char),
    ACCNT_TYPE_CD_I varchar2 (50 char),
    ANNUAL_REVN_CAT varchar2 (30 char),
    ANNUAL_REVN_CAT_I varchar2 (50 char),
    BASE_CURCY_CD varchar2 (20 char),
    BU_NAME varchar2 (100 char),
    CHNL_SALES_GRWTH varchar2 (30 char),
    CHNL_SALES_GRWTH_I varchar2 (50 char),
    CITY varchar2 (50 char),
    COUNTRY varchar2 (30 char),
    DIVN_TYPE_CD varchar2 (30 char),
    DIVN_TYPE_CD_I varchar2 (50 char),
    DOM_ULT_DUNS_NUM varchar2 (15 char),
    DUNS_NUM varchar2 (15 char),
    EXPERTISE varchar2 (30 char),
    EXPERTISE_I varchar2 (50 char),
    FREQUENCY_CAT varchar2 (30 char),
    FREQUENCY_CAT_I varchar2 (50 char),
    FRGHT_TERMS_CD varchar2 (30 char),
    FRGHT_TERMS_CD_I varchar2 (50 char),
    GLBLULT_DUNS_NUM varchar2 (15 char),
    KEY_COMPETITOR varchar2 (100 char),
    LINE_OF_BUSINESS varchar2 (30 char),
    MAIN_PH_NUM varchar2 (40 char),
    MGR_NAME varchar2 (160 char),
    MONETARY_CAT varchar2 (30 char),
    MONETARY_CAT_I varchar2 (50 char),
    NAME varchar2 (100 char),
    NUM_EMPLOY_CAT varchar2 (30 char),
    NUM_EMPLOY_CAT_I varchar2 (50 char),
    ORG_CITY varchar2 (50 char),
    ORG_COUNTRY varchar2 (30 char),
    ORG_MAIN_PH_NUM varchar2 (40 char),
    ORG_MGR_NAME varchar2 (160 char),
    Nom_org varchar2 (100 char),
    ORG_PRTNR_TIER varchar2 (30 char),
    ORG_PRTNR_TIER_I varchar2 (50 char),
    ORG_PRTNR_TYPE varchar2 (30 char),
    ORG_PRTNR_TYPE_I varchar2 (50 char),
    ORG_STATE varchar2 (50 char),
    ORG_ST_ADDRESS varchar2 (200 char),
    ORG_TERR_NAME varchar2 (75 char),
    ORG_ZIPCODE varchar2 (30 char),
    PAR_DUNS_NUM varchar2 (15 char),
    PAR_INTEGRATION_ID varchar2 (30 char),
    PAR_ORG_NAME varchar2 (100 char),
    PRI_LST_NAME varchar2 (50 char),
    PRTNR_NAME varchar2 (100 char),
    PR_COMPETITOR varchar2 (100 char),
    PR_INDUST_NAME varchar2 (50 char),
    PR_ORG_TRGT_MKT varchar2 (50 char),
    PR_PTSHP_MKTSEG varchar2 (50 char),
    PTSHP_PRTNR_ACCNT varchar2 (100 char),
    PTSHP_STAGE varchar2 (30 char),
    PTSHP_STAGE_I varchar2 (50 char),
    RECENCY_CAT varchar2 (30 char),
    RECENCY_CAT_I varchar2 (50 char),
    Varchar2 (30 char) REGION,
    REGION_I varchar2 (50 char),
    REVN_GROWTH_CAT varchar2 (30 char),
    REVN_GROWTH_CAT_I varchar2 (50 char),
    Varchar2 (50 char) STATE,
    ST_ADDRESS varchar2 (200 char),
    U_ACNTRVN_CURCY_CD varchar2 (20 char),
    U_CH_ASLS_CURCY_CD varchar2 (20 char),
    U_HST_SLS_CURCY_CD varchar2 (20 char),
    U_PTL_SLS_CURCY_CD varchar2 (20 char),
    VIS_PR_BU_ID varchar2 (15 char),
    VIS_PR_POS_ID varchar2 (15 char),
    CODE POSTAL varchar2 (30 char))
    ;
    error writeExecDDL (UTLOdbcExecDirectDDL pDDLSql).
    error writeExecDDL (pOperCallback UTLDbDdlOperTblCreate).
    Error in MainFunction (UTLDbDdlDbMerge).
    Error in the Main function...


    Please let me know how reslove this error...

    Use the setup.exe from Disk1\install\win32
    ex: D:\DAC_V16377-01\dac\Disk1\install\win32

    It works without any problem

    Score pls help if

  • Problem with the table name table of flow (snpRef.getTable ("L", "A", "INT_NAME"))

    I build an interface using "uIKM incremental update Oracle" KM including step "Define vFlowTable" is back in time to run the name of Table Flow below through snpRef.getTable administered:
    String vFlowTable = "<%=snpRef.getTable("L", "INT_NAME", "A")%>";
    I do not understand why the above command is the addition of the character ">" in the name of Table Flow, can someone help me?
    If I change the code below fixing changing '< %=snpRef.getTable ("L", "A", "INT_NAME") % >' to 'ODI_RUN_CONV. "I have$ _CCRSBENE ' without ' > ' interface runs successfully

    <@ 
    String vFlowTable = "ODI_RUN_CONV>.I$_CCRSBENE";
    if("1".equals("1")){
         if("".equals("")){
              vFlowTable = vFlowTable .substring(0,vFlowTable .indexOf(".")+4)+"291248103";
         }else{
              vFlowTable = vFlowTable .substring(0,vFlowTable .indexOf(".")+4)+"";
         }
    }
    @>

    Check the schema name for the data server, maybe the > in the name? ..... ODI_RUN_CONV >

    Also check the local object mask in the definition of technology, maybe some has changed? If his Oracle we %SCHEMA.%O OBJECT

    See you soon
    David

  • problem with the table of jbuttons actionListener

    Hello friends,

    I have a class of card whose 52 objects are stored in a vector.

    I have 2 players who have a vehicle for 11 objects of type map of each card.

    In my DispGame JFrame.
    I stored 11 JButtons in a vector that appear in the JPanel.

    When I click on a particular card (IE JButton) it is displayed on a JLabel in the middle of the game.
    to do this, following code is written to associate the actionlisteners
    private void reAssociateBtnListener() {
         for(byte b=0; b<(byte) (btnCardsPL.size()); b++) {
              btnCardsPL.elementAt(b).addActionListener(new BtnCardLocalPlayer(b));
         }
    }
    
    private class BtnCardLocalPlayer implements ActionListener {
         byte index;
         public BtnCardLocalPlayer(byte idx) {
              index = idx;
         }
         
         public void actionPerformed(ActionEvent evt) {
              
              // Remove the btnCardPL from the local player button array
              removeCardAndButton();
              
              playCard(index);
           }
    
         private void removeCardAndButton() {
              
              
              DispGame.pnlGame.remove(btnCardsPL.elementAt(index));    // ERROR aray idx out of bounds
              
              //Game.playerL.plyrCard.removeElementAt(index);
              btnCardsPL.removeElementAt(index);
              
              repaint();
         }
    }
    
    protected void playCard(byte b) {
    
    
         // Display the image on the board
         
         
         reAssociateBtnListener();         // Problem here
    }
    Now, here's the real problem. When the JButon is clicked, it is removed from the Vector and JPanel.
    Then I re associating the actionListeners.

    And also the associated object is removed from the 11 cards of players.

    When I re associate the actionlisteners then re action is performed. That is to say the event automatically fires again and a new card is played. How can I stop this!

    Below is the reference to my previous post about the event of the dashboard buttons.
    Get the index of the clicked on JButton
    as suggested by jduprez

    I hope I explained my point of view and clearly doubt!

    Thanking in advance!

    When you 'relink the action listeners', you add only more action listeners to the buttons. You never remove the original action listener. When you press the second button, it has two headphones. When you press the third button, there are three listeners.

  • I have an iMac7, 1 with Intel Core 2 Duo 2.8 GHz, 2 GB memory, 500 GB storage, iOS10.6.8 and can update in 10.11.2.  must I do cela or are there problems with the upgrade?

    I have an iMac7, 1 with Intel Core 2 Duo 2.8 GHz, 2 GB memory, 500 GB storage, iOS10.6.8 and can update in 10.11.2.  must I do cela or are there problems with the upgrade?

    I don't know about other issues. There are always 'problems' with any upgrade. You weigh against the benefits. I know that you need more RAM. At least 4 GB, maybe more if you can. Don't forget that this system is produced at a time when most of the machines have + 8 GB RAM and when Apple said 'minimum' they really mean it.  I recently inherited a MacBook that has 2 GB of RAM and the Mavericks. When I checked the memory, the use of the system was using 1.95 GB = nothing to run applications!

  • problem with the help of the conditional formatting on a cell that is defined as the percentage

    Hi all

    I am facing a problem with the help of the conditional formatting on a cell that is defined as the percentage.

    I am using beaches for example:

    is equal to or greater than 10% - green color

    5%-10%-yellow

    less than or equal to 5%-color red


    the problem is that keeps the value 10% get yellow color when it should get green.


    i thought that is a rounding issue but when I change the definitions of the cell to learn more decimal places I see this part of the percentage 9.65% and some of them are 10.00% and they are both colored in yellow.

    I also tried to change the way range of 6 to 9%, but values between 9.65% or 5.5% are not colored.


    I really enjoy your help!

    You know the reason and the solution.

    change the format of the column and go or add a column more with decimal and opt for conditional and hide report.

    Thank you

    http://cool-bi.com

  • Problem with the numbers in the rows of cut and paste

    Hey,.

    I'm new to MAC and now have problems with the help of figures, I brought my windows Excel worksheets. On windows, I could cut a line and paste anywhere on this page and by practice that Excel would fill the void rank where I cut the content. but here on MAC it does not work, why?

    anyway I tried to live with it by cutting a line and for the collage, I used Insert > copied lines for paste swath and add a line for her. but last night I updated the numbers and now by the practice precedes the Windrow is stuck this time with a resized form, the line is resized to a big line.

    Why is this happening? If it can't be fixed, I can go back to a previous version of a number? This update of hate.

    Numbers is excellent NO then you should consider to guide your expectations.

    Cut number refers only to the content NOT the line, or cells.  Select when a row, and then use the cut command that you cut the contents of the cells.

    If you try to move a line from one place to another, you should try this method (which can work for you)...

    Select the line, then click and hold on the header line (up to the line "lift" on the table), the operation slide the line to the destination.

    Now drag the line:

    Now drop the line where you want to:

  • Problem with the rendering of JProgressBar in JTable

    I have some problems with the rendering of JProgressBar in JTable. In the case of several lines, when a progress bar is updated, and its text is changing, then he painted all the progress bars in this column.

    Here is my code I used to create the table:
    --------------------------------------------------------------------------------------
    JTable convertTable = new JTable(convertTableModel) {
    
                public Component prepareRenderer(TableCellRenderer renderer,
                        int rowIndex, int vColIndex) {
                    Component c = null;
                    if (renderer != null) {
                        c = super.prepareRenderer(renderer, rowIndex, vColIndex);
    
                        if (vColIndex == INDEX_CONVERT_STATUS) {
                            //System.out.println("c = "+c.getClass());
                            if(c instanceof JProgressBar) {
                                //System.out.println("inside = ");
                                c.setBackground(Color.BLUE);
                            }
                        }
                    }
                    return c;
                }
    
                public boolean isCellEditable(int rowIndex, int mColIndex) {
                    if (mColIndex == INDEX_CONVERT_SELECT) {
                        return true;
                    } else if (mColIndex == INDEX_CONVERT_STATUS) {
                        return false;
                    } else {
                        return false;
                    }
                }
    
                /*
                 * JTable uses this method to determine the default renderer/
                 * editor for each cell.  If we didn't implement this method,
                 * then the last column would contain text ("true"/"false"),
                 * rather than a check box.
                 */
                public Class getColumnClass(int c) {
                    if (getValueAt(0, c) != null) {
                        return getValueAt(0, c).getClass();
                    }
                    return null;
                }
            };
    --------------------------------------------------------------------------------------

    Then I applied on this table rendering engine

    ---------------------------------------------------------------------------------------
    // Applying JProgressBar Renderer for convert table
            TableColumn col = convertTable.getColumnModel().getColumn(INDEX_CONVERT_STATUS);
            ProgressBarRenderer progressBarRenderer = new ProgressBarRenderer();
            col.setCellRenderer(progressBarRenderer);
    ---------------------------------------------------------------------------------------

    Class code ProgressBarRenderer is as follows:
    ---------------------------------------------------------------------------------------
    public class ProgressBarRenderer extends JProgressBar implements TableCellRenderer {
    
        private Hashtable ht = new Hashtable();
    
        public ProgressBarRenderer() {
            super(0);
            this.setMinimum(0);
            this.setMaximum(100);
            this.setStringPainted(true);
            this.setBorderPainted(true);
    
            UIDefaults defaults = UIManager.getDefaults();
            Font font = new Font("Arial", Font.BOLD, 12);
            defaults.put("ProgressBar.font", font);
        }
    
        public void setRowEnabled(int row, boolean enabled) {
            ht.put(row, enabled);
        }
    
        public void setForeground(Color c, int row) {
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row) + " color= " + c);
            if (ht.isEmpty()) {
                this.setForeground(c);
            } else if (ht.size() == 1) {
                this.setForeground(c);
            } else if ((Boolean) ht.get(row)) {
                this.setForeground(c);            
            } else {
                this.setForeground(c);
            }
        }
    
        public void setString(String s, int row) {
    
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + " text= " + s);
            if (ht.isEmpty()) {
                this.setString(s);
            } else if (ht.size() == 1) {
                this.setString(s);
            } else if ((Boolean) ht.get(row)) {
                this.setString(s);
            } else {
                this.setString(s);
            }
    
        }
    
        @Override
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row, int column) {
            
            //System.out.println("getTableCellRendererComponent = " + table);
            //System.out.println("Renderer ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row));
            
            if (ht.isEmpty()) {
                return this;
            } else if (ht.size() == 1) {
                return this;
            } else if ((Boolean) ht.get(row)) {
                return this;
            } else {
                return null;
            }
        }
    }
    ---------------------------------------------------------------------------------------

    I add the next line and rendered the progress column is follows:
       convertTableModel.addRow(new Vector());
       ((ProgressBarRenderer) convertTable.getCellRenderer(row, INDEX_CONVERT_STATUS)).setRowEnabled(row, false);
    ---------------------------------------------------------------------------------------

    When I add the first row, it works fine, but when I add the second row, he painted the entire column.

    Naturally, you will have problems if you set a string or a color of a table cell value when the class of the column is declared as integer. As I have already said, you need to spend some time with the tutorials.

    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Random;
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.table.TableCellRenderer;
    
    public class ProgressBarTableCellRendererExample {
    
      Random random = new Random();
      JTable table;
    
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
    
          public void run() {
            new ProgressBarTableCellRendererExample().makeUI();
          }
        });
      }
    
      public void makeUI() {
        table = new JTable(10, 1) {
    
          @Override
          public boolean isCellEditable(int row, int column) {
            return false;
          }
        };
        for (int i = 0; i < table.getRowCount(); i++) {
          table.setValueAt(0, i, 0);
        }
        table.getColumnModel().getColumn(0).
                setCellRenderer(new ProgressBarTableCellRenderer());
    
        JButton button = new JButton("Increment");
        button.addActionListener(new ActionListener() {
    
          public void actionPerformed(ActionEvent e) {
            increment();
          }
        });
    
        JFrame frame = new JFrame();
        frame.add(new JScrollPane(table), BorderLayout.CENTER);
        frame.add(button, BorderLayout.SOUTH);
    
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(400, 400);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      }
    
      private void increment() {
        for (int i = 0; i < table.getRowCount(); i++) {
          Object value = table.getValueAt(i, 0);
          if (value instanceof Integer) {
            Integer oldValue = (Integer) table.getValueAt(i, 0);
            int newValue = Math.min(100, oldValue + random.nextInt(25));
            switch (newValue) {
              case 13: // and its multiples
              case 26:
              case 39:
              case 52:
              case 65:
              case 78:
              case 91:
                table.setValueAt("Failed", i, 0);
                break;
              case 100:
                table.setValueAt("Completed", i, 0);
                break;
              default:
                table.setValueAt(newValue, i, 0);
            }
          }
        }
      }
    
      private class ProgressBarTableCellRenderer
              extends JProgressBar implements TableCellRenderer {
    
        private TableCellRenderer stringRenderer =
                new DefaultTableCellRenderer();
    
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus,
                int row, int column) {
          if (value instanceof Integer) {
            setValue((Integer) value);
            return this;
          } else {
            return stringRenderer.getTableCellRendererComponent(table,
                    value, isSelected, hasFocus, row, column);
          }
        }
        // Override void validate(), invalidate(), revalidate(), repaint()
        // and all overloads of firePropertyChange(...) as no-ops
        // for efficiency
      }
    }
    

    DB

  • Problems with the layouts and headers

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    <table width="740"  border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton">
          <tr align="center" valign="top">
            <td width="288" height="48"><h1><br /><br />
            </h1></td>
            <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a>      <a href="../featured.html" class="TextButtons">Featured Company</a>      <a href="../youngpeople.html" class="TextButtons">Young People</a>      <a href="../andmore.html" class="TextButtons">And More</a>     </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog  </a></span><!-- TemplateEndEditable --> </td>
          </tr>
          <tr>
            <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th>
            <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" />  <!-- TemplateEndEditable --></td>
          </tr>
        </table>
    

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    evilJim wrote:

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    In the first cell of the table, you have a tag h1 (header tag) (see below), in this tag you inserted two break tags
    by pressing return on your keyboard twice. These breaks are reduced the height of the first row of the table, that's why you have all the space under your links.



            

    evilJim wrote:

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    At the moment you have nothing apart from 2
    tags in your h1 tag (see above answer to your first quetsion.

    Purposes of search engine, you can encapsulate your image in an h1 tag and provide an overview of more descriptive than "My Site Logo" for the images 'alt' tag

    My Site Logo

  • Anyone having problems with the new iPhone LTE connection 7 on Verizon?

    I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?

    (1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.

    (2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.

Maybe you are looking for

  • Satellite Pro A100 - it does not recognize 4 GB of RAM

    Hellotoday I purchased two 2 GB RAM Corsair DIMMS (DDR2 - 667 mhz) for my Satellite Pro A100. After that I updated the BIOS it detected the 4 GB of RAM, but the balance of RAM on the boot prompt checks only 3 GB of RAM. So I can use only 3 GB of RAM

  • Network adapter wireless satellite L40 Atheros AR5007EG

    I'm after the driver for this wireless adapater. It was working fine then suddenly it just disappeared, not in Device Manager, or anywhere?

  • Need help finding a compatible optical drive for lenovo b50-80

    I ordered recently the b50-80 of lenovo laptop for my mother and I thought wrongly that it came with an optical drive. I tried searching online to see who can be compatible with it. But, I don't have a lot of experience actually shopping for one. The

  • Controlled by the voltage analogue output

    I missed more or less in my attempts to use the analog output features DAQmx.  What I want to do is to create a program that will spend the next an analog input channel voltage analogue output channel.  The basic idea is this: I am able the different

  • Microsoft (r) dynamic HTML ending control

    I have windows xp service Pack 3.  Can I download movies on a memory card or USB without this dynamic HTML end control of Microsoft (R). I keep showing up to download.  When I went to the microsoft site for more information on what this was, this is