Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#60 closed task (fixed)

SCEFileChooser should be replaced with a better one

Reported by: stefan Owned by:
Priority: normal Milestone: 0.3
Component: general Version: 0.1
Keywords: Cc: rbakhshi@…; joerg@…
Blocked By: Blocking:
Parent Tickets:

Description (last modified by stefan)

The current one has some bugs and sometimes it throws even exceptions:

Exception in thread "Timer-138" java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1356)
    at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1299)
    at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2615)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
    at javax.swing.JList.setSelectedIndex(JList.java:2179)
    at util.filechooser.SCEFileChooser$1$1.run(SCEFileChooser.java:24)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)

Subtickets

Change History (4)

comment:1 Changed 7 years ago by stefan

  • Description modified (diff)
  • Summary changed from SCEFileChooser produces a strange exception to SCEFileChooser should be replaced with a better one
  • Version set to 0.1

comment:2 Changed 7 years ago by stefan

  • Type changed from defect to task

comment:3 Changed 7 years ago by stefan

  • Milestone changed from 0.2 to 0.3

comment:4 Changed 6 years ago by joerg

  • Resolution set to fixed
  • Status changed from new to closed

The crappy Java JFileChooser has been replaced with a cutting-edge SCEFileChooser written from scratch. What the SCEFileChooser does better: navigation via keyboard (hardly possible with JFileChooser since it looses the key focus all the time).

Note: See TracTickets for help on using tickets.