필터 지우기
필터 지우기

Java Components in MATLAB

조회 수: 4 (최근 30일)
Thulasi Durai Durai Samy
Thulasi Durai Durai Samy 2012년 6월 20일
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
Jan 2012년 6월 20일
How do you create the table and where did you get the ColoredFieldCellRenderer from?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call MATLAB from Java에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by