Month: January 2010

  • How to use TableModels and ListModel with NetBeans GUI Builder

    A default JTable or JList comes with it’s own pre initalized model. Okay – but: how can we modify this model? Which type of model is usually pre initialized?
    In the following I’ll just list some of the may possible ways to work with tables and lists and the NetBeans Gui Builder:
    (more…)

  • java.sql.SQLException: No suitable driver found for ‘jdbc:derby:…

    Kleine Gemeinheit im “Using dblook” guide (Übersichtslink):

    dblook -verbose -d ‘jdbc:derby:pathToDBDBName’

    — Zeitmarke: 2010-01-04 12:27:34.578
    — Quellendatenbank: pathToDBDBName
    — Verbindungs-URL: ‘jdbc:derby:pathToDBDBName
    — appendLogs: false

    java.sql.SQLException: No suitable driver found for ‘jdbc:derby:pathToDBDBName
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:207)
    at org.apache.derby.tools.dblook.go(Unknown Source)
    at org.apache.derby.tools.dblook.(Unknown Source)
    at org.apache.derby.tools.dblook.main(Unknown Source)
    — **–> DEBUG: No suitable driver found for ‘jdbc:derby:pathToDBDBName

    (Fast) Derselbe Aufruf geht via ij und NetBeans …

    Lösung: dblook -d jdbc:derby:pathToDBDBName
    Unterschied: einfach ohne die ‘Hochkommata‘, auch wenn es im Guide immer wieder mal mit Gänsefüßchen steht.