Please help me..JTable trouble

Hi all java guru,
i've have a JTable in which i want to insert some styled text (e.g. bold,underline,italic).... i use a JEditorPane as CellEditor and JEditorPane as renderer. In each JEditorPane i have registered a StyledEditorKit that is used for styles.
I've noted that when i insert styled text, initially cell maintains text style, but when i click on other cell,style of text disappears....i want to specify that i don't want to add style to entire cell, but i wish to add style at a portion of text.....
notbold bold | not styled text
Cell0 ----------------------- Cell1
Is this behavior normally ???
Then i've implemented a CustomTableModel that maintains information about text style, in such way that when renderer cell, i can rebuild exact text with its style....same method is adopted for CellEditor.
It is possible to have more than one JTable in my application....then to correctly handle all JTables ' put the in a vector and during editing and rendering i find current focusable JTable and edit/render it.
It seems a right solution ???
I insert style on text using a toolbar and menubar in a dynamically way.
Please, give to me an advice...Is right this solution??Or exist another way to resolve this proble in a more elegant way??
Tnx in advance
regards,
anti-shock

That's correct.
Try to set HTMLEditorKit for your editor/renderer JTextPane. In the TableModel you can save text from textPane.getText() and set the text in the renderer component in the appropriate renderer's method.
regards,
Stas

Similar Messages

  • PLEASE HELP i have trouble with WRT54G port forwarding with linksys

    Hello guys, i play a game called populous, and since im on a router i cannot host the game, when i used to have a d-link all i would do is have to set up the port to my ip with the udp. but ever since i have swiched to linksys that doesnt work, the ip on my portforwaring is the same as the one on my computer the port is correct and the udp is set, i also have no fire walls on and it still doesnt make a differance, Someone in the game suggested that there is a local ip i need to get? is that true or is there another setting i need to set up in my router page?
    PLEASE HELP IF YOU CAN <3<3 thanks
    Message Edited by Curtman on 09-07-2007 12:04 PM

    Yes that happens if you write replies to your own posts. Many regulars here only answer their "own" topics (i.e. to which they have answered before) and new ones which don't have replies, yet. If you write a reply to your own topic chances are your are not read unless during some random browsing...
    Regarding your problem it is impossible to say anything unless you give the exact settings you have on your router. Please post the full settings you have for port forwardings, port triggering and DMZ. If you have UPnP forwarding in your router (I don't think you have) post those settings, too.
    Otherwise I suggest this checklist for troubleshooting port forwardings.

  • Please HELP! Itunes trouble! I NEED of assistance.

    Ok, well long story short, my Itunes does NOT open.
    This has been going on for a few months but I just pushed it aside until today because I got an Iphone today.
    This is what pops up when I click the itunes icon:
    http://i46.photobucket.com/albums/f111/batboy99/untitled.jpg
    The error code(-50) is listed on the actual apple site as a problem that usually occurs, but it isnt the same problem as I have. Usually this error pops up when downloading purchased content on Itunes, but my problem is that Itunes wont even open up! I havent put music on my ipod for months. I've tried uninstalling and redownloading it a dozen times and I've even tried to ''repair'' it, but nothing helps.
    Please help me. I'm basically an idiot when it comes to computers and I really need your guys expertiese(sp?)
    so please make it as easy for me to understand as possible.
    Thanks so much guys!

    The error -50 when launching iTunes nowadays usually means there's a problem afoot with your Apple Application Support. So we'll try uninstalling both your iTunes and Apple Application Support, and then reinstalling iTunes (which should also reinstall Apple Application Support). We'll take a few other explicit precautions along the way, just in case. Best to print out a copy of these instructions, because at one stage of proceedings you won't be able to use a web browser.
    Preliminaries
    Download and save a copy of the iTunesSetup.exe (installer) file to your PC. (Don't run the install on line, and don't start the install just yet.)
    http://www.apple.com/itunes/download/
    Quit QuickTime and/or Safari if you have them open. Both applications use Apple Application Support, and they will interfere with the uninstall if you have them open (if you can open them at the moment).
    *Uninstall phase*
    Head into your "Add or Remove Programs" control panel. Uninstall iTunes. Uninstall Apple Application Support (if it is listed in there).
    (From this point on until we reinstall Apple Application Support, neither QuickTime nor Safari 4.0.4 will be able to run.)
    Next we'll remove any leftover program files and folders.
    (1) Open "Local Disk (C:)" or whichever drive your program files are stored on.
    (2) Open the "Program Files" folder.
    (3) Right-click on the iTunes folder (if it still exists) and select "Delete".
    (4) Open the "Common files" folder.
    (5) Open the "Apple" folder.
    (6) Right-click on the Apple Application Support folder (if it still exists) and select "Delete".
    Now empty your Recycle Bin and restart the PC.
    *Reinstall Phase*
    After the PC restarts, do not open any other applications. Disconnect from your network and/or the internet. Switch off all your security software (firewall, antivirus and antispyware).
    Now start the install by doubleclicking the iTunesSetup.exe file you downloaded earlier.
    Reenable all security software prior to reconnecting to your network and/or the internet.
    Did the install seem to go through okay? If so, does iTunes start launching properly again?

  • Please help about JTable...thanks

    HI everyone!
    Please tell me how to write a ACTIONLISTENER for a JTABLE?
    JTABLE table;
    Object[][] myArray = {  {"Mary", new Integer(5)},
    {"Alison", new Integer(3)},
    {"Angela", new Integer(1)}
    String[] columnNames = {"First Name", "Scores"};
    table = new JTable(myArray, columnNames);
    how do you write a actionlistener for a JTable?
    thanks

    One of the things I'd recommend is reading the tutorial on "How to use Tables" at the Sun website. Unless you have a button or something like that on the container the JTable is in, I don't think you want an ActionListener. One of the things you can do is set up a ListSelectionListener. It allows you to do something when a value changes in the ListSelectionModel. When you select rows in a JTable, a ListSelectionModel is created. Retrieve the ListSelectionModel from your JTable, and add a listener to it, something like:
    JTable runTable = new JTable(yourTableModel);
    runTable.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); // set mode
    //or use default
    ListSelectionModel rowSM = runTable.getSelectionModel();
    rowSM.addListSelectionListener(new TimeSelectionListener());
    class TimeSelectionListener implements ListSelectionListener {
    public void valueChanged(ListSelectionEvent e) {
    //Ignore extra messages.
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    // ...//no rows are selected
    } else {
    ... // If some rows are selected, do something here!!!
    I hope this helps.

  • Please help on JTable

    Hello ,
    Please i need help in the following topic:
    I have a JTable with 50 rows i will like to do some processing when ever the row
    and column change in my JTable. So I think i have to add a listener to my table but i don't really
    know which listener. Can some one help me please and may be a sample code?
    many thanks.

    You need to add a TableModelListener to the table's model:
    public class MyTableModelListener implements TableModelListener
      public void tableChanged(TableModelEvent e)
        System.out.println("THE TABLE HAS CHANGED!");
    myTable.getModel().addTableModelListener(new MyTableModelListener());That should get you started.
    Hope this helps.

  • Please help!  Having trouble with downloads!

    Whenever I try to download windows programs, microsoft excel tries to open the program... I'm trying to download Media Player, but after the download is complete and I click open, Excel tries to open it (which obviously doesn't work). How can I fix this problem?

    Do you have Windows installed or are you trying to download and install Windows Apps thru OS X?
    If it's the latter,it won't work.
    Please be more specific with your problem and we may be able to help you further.
    Jim
    PowerBook G3 500 Mhz "Pismo"/ 2.0Ghz BlackBook 2GB OWC RAM   Mac OS X (10.4.8)  

  • Please help, Pages layout trouble

    So I'm doing a newsletter...and I'm about ready to take my computer and pages with it and smash it with a sledgehammer. For some odd reason I cannot get text boxes that I insert to move. They will move on their own and will only have the resize box and It's very infuriating. Secondly, when I print it out, it's not on the full page. It literally doesn't fit an 8 1/2 x 11 page. Why is that???? Lastly, when I try to make the background box (I'm using a layout) to conform to the rest of the page, I get an x and it won't move. Can someone help me please? Because I swear I'm about to go and do this on a PC.

    I understand your frustration. We've all been there. But I think both of these problems have easy fixes.
    When an inserted object can't be moved, the cause is almost always that it is set to "move with text." This happens when the cursor is active in the text layer when the object is inserted. To avoid this, click outside the layout area to enter the object layer then insert the object. For those objects already inserted, click on an object (you should see faint handles), then go to the wrap inspector (the third icon) & click the button next to "fixed on page." You may want to change the "extra space" to less than the default 12 points. Objects you want in the background have to start out as fixed on page.
    For the shrunken printed page, my guess is that you have comments turned on. Go to the View menu & select Hide Comments.

  • Please help: "download failed" - trouble downloadi...

    hello there,
    i've just finally managed to install ovi player (though on my father's laptop; did not work for my pc nor my dad's), registered under comes with music and was all good to go -- or so i thought.
    i'm having trouble downloading anything. each track gets a "download failed" status after "downloading".
    i'm wondering if there were any steps i failed to take; my usb is connected under media transfer.
    it's pretty upsetting to be continuously let down by nokia, however i am optimistic for a solution.
    prompt responses/any help would be greatly appreciated.
    thank you in advance

    update:
    i've managed to download an entire album, so praise goodness. however, i still get "download failed" a bunch of times. its occurrence seems random as of now, and i would still really appreciate an explanation or solution to this. thanks.
    in the meantime, have a wonderful easter everyone

  • Please help!  Having trouble finding records when searchign two tables.

    Hi, I've been trying to solve this problem for several weeks now, and I have exhausted all of my knowledge and experience. I need help, and I hope someone here can give me some direction.
    I am using VB 2008, and the CR that comes bundled with VS 2008 Pro. My database is a SQL Server 2005 CE v3.5 (a *.sdf file). I am connecting to the database through a dataset, and I am displaying the report in a CrystalReportViewer.
    My dataset consistes of two tables:
    1) tblCustomers which has a primary key "CustID", and contains only customer contact and personal information.
    2) tblDateVisited which has a primary key of "VisitID", but it also has a column titled "CustID". Basically, every time a customer visits the business, details of that visit are recorded in tblDateVisited, and that record is associated with the customer by their CustID.
    Here's what I'm trying to accomplish: I want to be able to display only Customer records when the customer has visited and that visit matches certain criteria. Right now, I am trying to match visits from the "tblVisitDate.PlayerType" column. If the customer has ever had a visit where they matched a particular player type, I want to see those customer records.
    I don't know what I'm doing wrong, though. I can search a dataset if I am only querying one table and pulling records from that table. However, whenever I try to add a second table and perform queries on that table to get records from the first table, I can't return any records.
    If it helps, I am trying to use one CrystalReportViewer to display multiple reports (user choice) and here's how I'm loading the report into the viewer:
    Me.tblCustomersTableAdapter.Fill(Me.dsPlayerTypeReports.tblCustomers)
    Me.tblDateVisitedTableAdapter.Fill(Me.dsPlayerTypeReports.tblDateVisited)
    Me.ReportFile.SetDataSource(dsPlayerTypeReports.Tables(1))
    I am suspicious that my problem is in the Tables(1) method. It confuses me that I can only assign one table as a datasource when I obviously need access to two tables to make this selection work.
    Whatever the case, I'm at the end of my rope with this one. I'm not prone to giving up, but I'm at a dead end currently.
    Any attempt to assist me with this will be greatly appreciated, successful or not.
    Thanks in advance!
    -Will

    Hi
    I finally figured this out (or at least a way of doing it that seems to work!
    In VS create a new, empty datasource with no database objects in it. You'll get a message saying asking if that's what you really want to do.
    Add a TableAdapter to the datasource using the 2-table SQL statement with a join but no WHERE clause, in my case:
    "SELECT tblMedia., tblTitles. FROM tblMedia LEFT JOIN tblTitles ON tblMedia.ODGMediaID = tblTitles.ODGMediaID "
    Make sure Fill a DataTable and Return a DataTable are checked.
    Rename the TableAdapter and DataTable to something sensible.
    Design the report using the new Dataset.
    To display the report in VB with user generated WHERE clause:
    strWhere = "WHERE ID=..." etc
    strSQL = "SELECT tblMedia., tblTitles. FROM tblMedia LEFT JOIN tblTitles " & _
                            "ON tblMedia.ODGMediaID = tblTitles.ODGMediaID " & strWhere
    Dim conn As OleDbConnection = New OleDbConnection(strConn)
    Dim da As OleDbDataAdapter = New OleDbDataAdapter(strSQL, conn)
    Dim dsReport As New DataSet
    da.Fill(dsReport, "DataTableName")
    Dim rpt As New ReportDocument
    rpt.Load(PathToReportFile)
    rpt.SetDataSource(dsReport)
    crReportViewer.ReportSource = rpt
    Jonathan Attree

  • Please help. Having Trouble using OracleResultSet

    I am trying to manipulate a CLOB column. Oracle's example java code to get the data from the table using JDBC uses the oracle.jdbc.driver.OracleResultSet class. When I try to cast the ResultSet into a OracleResultSet I get the several compilation messages like this one:
    The method oracle.jdbc2.Blob getBlob(int) declared in class oracle.jdbc.driver.OracleResultSet cannot override the method of the same signature declared in interface java.sql.ResultSet. They must have the same return type.
    I am using the oracle_jdbc_8_1_6.zip driver.
    Any suggestions??

    I found the solution in another post. Switching to classes12_01.zip fixed the problem.

  • Please help me out,trouble with 7.1.2 update , it had deleted my photos

    I've updated my iPhone5 to 7.1.2 with iTunes and I lost all of my applications and photos ,messages, voices ,... of last month and the funny thing is I have a note from 3 days ago , so it shows I haven't lost the data, Is there a way to backup the photos and massages?

    Hopefully you can restore from a backup  ...
    If you have a new iOS device, or if you need to restore your device to resolve an issue, follow these steps:
    Connect your iOS device to the computer that has your backup.
    Make sure this computer has the latest version of iTunes.
    Choose File > Devices > Restore from Back up.
    If you're using iTunes 10.7 or earlier, right-click the device from the list and choose Restore from Backup.
    From here > iOS: Back up and restore your iOS device with iCloud or iTunes

  • Error message on 4500 switch please help me rectify this issue .

    LLog Buffer (4096 bytes):
    valid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    4d15h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 2 times)Packet recei                                                                                                                               ved with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    4d21h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 5196 times)Packet re                                                                                                                               ceived with invalid source MAC address (00:00:00:00:00:00) on port Po1 in vlan 1
    5d04h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 58415 times)Packet r                                                                                                                               eceived with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vla                                                                                                                               n 1
    5d10h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 44163 times)Packet r                                                                                                                               eceived with invalid source MAC address (00:00:00:00:00:00) on port Po1 in vlan                                                                                                                                1
    5d17h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 18786 times)Packet r                                                                                                                               eceived with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vla                                                                                                                               n 1
    5d23h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 4897 times)Packet re                                                                                                                               ceived with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan                                                                                                                                1
    6d06h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 7 times)Packet recei                                                                                                                               ved with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    6d14h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 16 times)Packet rece                                                                                                                               ived with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    6d22h: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 8 times)Packet recei                                                                                                                               ved with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w0d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 6 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w0d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 6 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w0d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 27713 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w1d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 89677 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w1d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 38722 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w1d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 7 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w1d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 22133 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w2d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 46596 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w2d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 11 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w2d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 10 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w2d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 26497 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Po1 in vlan 1
    1w3d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 61085 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w3d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 5 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Gi2/1 in vlan 1
    1w3d: %C4K_L2MAN-6-INVALIDSOURCEADDRESSPACKET: (Suppressed 11 times)Packet received with invalid source MAC address (00:00:00:00:00:00) on port Po2 in vlan 1
    1w3d: %C4K_REDUNDANCY-5-CONFIGSYNC: The private-config has been successfully synchronized to the standby supervisor
    1w3d: %C4K_REDUNDANCY-5-CONFIGSYNC: The startup-config has been successfully synchronized to the standby supervisor
    1w3d: %SYS-5-CONFIG_I: 
    Please help me with trouble shooting steps and also commands..........

    Hi,
    Please ask  the question in LAN SWITCHING community for speedy response but it looks like a message indicating that Switch is seeing a packet with src mac 00.00.00.00.00.00 which obviously is Invalid. Switch learns the mac from src in the frame and it is wrong. Looks like Mac-spoofing.
    Regards,
    KANWAL

  • WF_DEFERRED (443 300)  its crossing threshold    please help how to troub

    WF_DEFERRED (443 > 300) its crossing threshold please help how to trouble shoot it

    Handle:      798141
    Status Level:      Newbie
    Registered:      Sep 28, 2010
    Total Posts:      76
    Total Questions:      25 (17 unresolved)
    So many questions & so few answers.
    http://www.lmgtfy.com/?q=oracle+WF_DEFERRED

  • Please Help.JTable insert styled text

    Hi all java guru,
    on post http://forum.java.sun.com/thread.jsp?forum=57&thread=485469 i've depicted my scenario in which i have a JTable where i want to add styled text.
    i've implemented a CustomTableModel that maintains information about text style, in such way that when renderer cell, i can rebuild exact text with its style....same method is adopted for CellEditor.
    It is possible to have more than one JTable in my application....then to correctly handle all JTables ' put them in a vector and during editing and rendering i find current focusable/selected JTable and edit/render it.
    Clearly i maintain information about style of text when i insert it, that is when i insert text, i update my CustomTableModel...same thing must be done when i delete text from JTable...that is, i must update CustomTableModel too in this case.
    Because my CellEditor is a JEditorPane component (extend it) i've registered document associated to it to a DocumentListener that notify every time that a remove operation is happens.
    What is the problem now???problem is that when i finish to edit a cell and click on another cell i've got a removeUpdate(DocumenEvent e) event, and i can't distinguish it.....it seems a real remove event....
    In this case(when i change cell) the code that is executes returns wrong result and invalidate all the rest.
    I think error is where i register celleditor , now i do it in CustomCellRenderer class that extend JEditorPane and implements TableCellRenderer.
    Please help me...this is a great trouble that invalidate all my work :(
    Any new idea is welcome.
    regards,
    anti-shock

    Hi stanislav, of course i can...you're a myth :)
    public class CustomCellEditor extends AbstractCellEditor implements TableCellEditor {
           CellEditor cellArea;
         JTable table;
         public CustomCellEditor(JTable ta) {
              super();
              table = ta;
              // this component relies on having this renderer for the String class
              MultiLineCellRenderer renderer = new MultiLineCellRenderer();
              table.setDefaultRenderer(String.class,renderer);
         public Object getCellEditorValue() {
              return cellArea.getText();
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected,     int row, int column) {
              int start = 0;
              int end = 0;
                                               // Get current selected table
              TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
              TableModel model = (TableModel) tb.getModel();
              Vector fontInfo = model.getFontFor(row,column);
              CellEditor cellArea = (CellEditor) ((CustomCellEditor)tb.getCellEditor (row,column)).getCellEditor();
              Document doc = cellArea.getDocument();
              String content = tb.getValueAt(row,column).toString();     
              if (doc!=null && fontInfo.size()>0 && !content.equals("")) {
                                                     // This method reads from model and get right style info
                                                     // for current text, and restore them
                                                     restoreFontWithAttributes(doc,fontInfo,content);
              else
                   cellArea.setText(tb.getValueAt(row,column).toString());
              cellArea.rowEditing = row;
              cellArea.columnEditing = column;
              cellArea.lastPreferredHeight = cellArea.getPreferredSize().height;
              return cellArea;
          * @return
         public CellEditor getCellEditor() {
              return cellArea;
         public class CellEditor extends JEditorPane {
              private CellStyledEditorKit k;
              public CellEditor() {
                    super("text/plain","");
                    k = new CellStyledEditorKit();
                    setEditorKit(k);
                    // I tried to add document here, but i have had wrong behavior
                   doc = new DocumentListener() {
                   public void removeUpdate(DocumentEvent e) {
                      // Get current selected table
                      TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
                      TableModel model = (TableModel) tb.getModel();
                      model.updateFontInfo();
                   getDocument().addDocumentListener(doc);
    }Ok, stan...this is my CustomCellRenderer class....as i have already said, i have some style text info mainteined by CustomTableModel associated with JTable.
    I update CustomTableModel every time that an insert and remove operation happens.
    If i add a DocumentListener to CellEditor (that rapresents editor cell of my table) happens that, if i remove some character from an editing cell, i got a removeUpdate event.....and this is right!!! But if i change cell (e.g. supposing editing cell(1,1), click on cell(2,1) then stop edit cell(1,1) and start edit cell(2,1)) i got a removeUpdate event, that I don't wait for to me..
    Look at this:
    empty cell | some text
    cell 0 ------- cell1
    supposing you're in cell1 and you have finished to insert "some text".Then click on cell0, that is empty....then document associated with CellArea(extend JEditorPane) before of the click on cell0 had some text, but after click have no text, then for it a removeUpdate is happens.....and is that one i got..
    it's as if an unique document is associated to all cells, while should be one document for each cell (i hope this is right).
    Clearly, i've same code for renderer, in such way that i can restore style of text on rendering.
    Hope is clear....if U have any idea or suggestion please give to me.
    Tnx a lot Stanislav..
    regards,
    anti-shock

  • Im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    I've found that the order of operations, so-to-speak, can be important when hooking up mini display port to HDMI.  I have the most success with the following operations in this order:
    1)  Plug HDMI cable into mini displayport adapter (the cable should not be plugged into either the TV or the computer at this point)
    2)  Plug the mini displayport end of your new super-cable to the computer.
    3)  Plug the HDMI end into your TV.
    4)  Switch inputs on your TV to the proper input.
    5)  If still nothing on the TV, try a different HDMI port on your TV.
    Hopefully this helps!  Good luck.

  • I have iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hi, I have the  iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hello Glittergirl68,
    Thank you for using Apple Support Communities.
    It sounds like the function to reseize the Font in an iBook is not functioning properly.
    I recommend a few things here. First close all the apps that are running in the background:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    From: iOS: Force an app to close
              http://support.apple.com/kb/ht5137
    When you have done that, restart the phone, and try again.
    If the issue persists, I would follow these steps from the article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    All the very best,
    Sterling

Maybe you are looking for

  • Is there a way to reset the shared variable engine?

    I would like to be able to reset the SVE in a manner that is equivalent to what occurs during a hardware reset. My motivation for doing so is as follows: I have an cRIO app with lots of IOV's and NSV's that operate via the SV API and also with plenty

  • Vista not showing up in startup disc pref?

    I have Vista 64bit Business installed, via a bootcamp partition on a second internal drive on my 8 Core Mac Pro, which is running 10.6.2. Occasionlly I will use VMware fusion running off my bootcamp partition, but yesterday when I tried this, vmware

  • Driver for Canon LBP-3000 printer

    to all, i could imagine tha there would be no driver of the LBP-3000 available for mac... i found a site, saying that there is a CAPT driver from a japanese canon's site. the problem is... the dirver fits only up to Mac OS X 10.4.4... the OS in my ma

  • HP Pavilion: IDT High Definition Audio CODEC

    Hi, I have an HP Pavilion with Windows 7 Home Premium 64-bit. The speakers part of the taskbar says that there's IDT High Definition Audio CODEC speakers built in, but when I try using them no sound comes. So I was just wondering if the IDT High Defi

  • How do I cancel my annual subscription to ExportPDF?

    Hi, the system is making me stupid by sending me round the same topics and I cannot cancel my subscription for Adobe Systems, SOFTWARE, 044-207-3650 IE  £19.82, Adobe ExportPDF Annual. I start my subscription on 12 of July 2014 - less than 30 days !