Java Components in MATLAB
4 ビュー (過去 30 日間)
古いコメントを表示
I geeting the following errors when i try to use java table in matlab gui, can some one help me. my version of matlab is 2008 Release 'a'.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at ColoredFieldCellRenderer.getTableCellRendererComponent(ColoredFieldCellRenderer.java:101) at javax.swing.JTable.prepareRenderer(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JViewport.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source)
1 件のコメント
Jan
2012 年 6 月 20 日
How do you create the table and where did you get the ColoredFieldCellRenderer from?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call MATLAB from Java についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!