1. JInternalFrame over JTable coderanch.com |
2. JTable in a JInternalFrame coderanch.compublic class PortfolioInternalFrame extends JInternalFrame { private Portfolio m_portfolio; JPanel m_rootPanel = new JPanel(); JScrollPane jScrollPane1 = new JScrollPane(); JTable jTable1 = new JTable(); public PortfolioInternalFrame(Portfolio portfolio) { super("Portfolio", true, false, true, true); m_portfolio = portfolio; try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { TableModel dataModel = new AbstractTableModel() { public int ... |
3. Swing--JTable in JInternalFrame coderanch.comHi everyone. I am trying to show a jtable in an internalframe, my jtables are created using AbstractTableModel and I want the user to be able to open multiple tables(like in Excel) in my application. I managed to show tables in frames but I have a problem that "when I open a new table , the rows of the new table ... |
4. Problem with JTable inside JInternalFrame java-forums.orgI'm having a problem with a JTable inside a JInternalFrame. The cell editor sometimes does not pop up when it should. I have a dialog that includes a JTable. The JTable has custom renderers and editors for each column. The JTable is inside a JScrollPane, and the JScrollPane and several other components are contained in a JInternalFrame. If I click on ... |
5. Referencing a jTable control in a jInternalFrame forums.oracle.comSorry All, but I'm now having problems visibly updating the jTable. I can use getValue() and retrieve the value placed in the cell so I know the value is getting there but it just won't display/repaint. I've tried a) TableFrame.ItemsjTable.setAtValue("hello",0,0); b) TableFrame.ItemsjTable.getModel().setAtValue("hello,0,0); (a) then TableFrame.rePaint(); (a) then TableFrame.ItemsjTable.rePaint(); I've hard coded a button (using (a) code ) in the jInternalFrame class ... |