Thread: GUI Problem
View Single Post
  #1 (permalink)  
Old May 2nd, 2008
mako_123 mako_123 is offline
Apprentice
 
Join Date: October 7th, 2007
Posts: 5
mako_123 is flying high
Default GUI Problem

Hi,

Sorry but this question might seem a little outdated. I ran to code of Phex 0.7.3 using Eclipse in a Local Area Network. When i try to connect with other users on LAN, it makes the connection but nothing gets displayed in the screen . And the Eclipse console shows the following exception


Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: 0
at phex.gui.models.FWSortedTableModel.convertRowIndex ToModel(FWSortedTableModel.java:105)
at phex.gui.common.FWTable.convertRowIndexToModel(FWTable.java:107)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unkn own Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unk nown 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.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unkno wn Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unkno wn Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unkno wn Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Un known Source)
at javax.swing.SystemEventQueueUtilities$ComponentWor kRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Please tell me what i need to change. I am running it using Java 1.6 . Also when i tried to run Phex 0.8.3 on Eclipse, certain jar files related to XML seems to be missing. Can you tell me where i can download then from ?
Reply With Quote