Search:

Type: Posts; User: eewill

Search: Search took 0.09 seconds.

  1. Replies
    0
    Views
    1,845

    JTable Calendar CellEditor help

    The stopCellEditing() call in the code below doesn't actually stop the cell editing. Ince my calendar dialog is disposed of, the cell is still waiting for entry. My guess is that I have to place...
  2. Replies
    3
    Views
    1,794

    Re: JTable column widths reverting to defaults?

    Okay, I found my problem. For anyone else having this kind of problem. The fireTableStructureChanged() caused the information to be wiped from the columns. Every time I execute this method I have...
  3. Replies
    3
    Views
    1,794

    Re: JTable column widths reverting to defaults?

    Oops. I meant "Frame", not form. That's what I get for typing too fast.
    I will try to get a SSCCE together, but in the mean time do you happen to know what might cause the columns might revert...
  4. Replies
    3
    Views
    1,794

    JTable column widths reverting to defaults?

    I have a form with 3 JTables on it. The first two are working fine, but the third is resetting to default column widths after the data structure is updated and a fireTableStructureChanged() occurs. ...
  5. [SOLVED] Re: Why is object reference showing in JTable when editing cell?

    OK, I found my own problem.

    The toString() method is called on the object the CellRenderer is displaying. In my case, DisplayCell. I failed to override the toString() method for this, so the...
  6. [SOLVED] Re: Why is object reference showing in JTable when editing cell?

    Exactly. But, I only see something similar to "java.lang.Object@1ba34f2" when I click on the cell to edit it. It displays fine otherwise.
  7. [SOLVED] Why is object reference showing in JTable when editing cell?

    I'm using a custom CellRenderer, see code below. I have a feeling something I'm doing in this is causing the problem. The CellRenderer itself seems to work fine showing the actual value, but when I...
  8. Re: Sync changing column widths across multiple JTables

    Hmm, no ideas?
  9. Sync changing column widths across multiple JTables

    I have an interesting case where there are three JTables that must be synced together in a rather peculiar fashion.

    The first column of all tables must resize together (have this working), and all...
Results 1 to 9 of 9