#1 CESE does not work on MacOS X

v1.3
closed-fixed
GUI (13)
8
2014-08-11
2004-06-24
No

We have tried since yesterday to get CESE running on
my OSX (Panther) G4.
On the Mac, the interface launches when I use the
cese.sh script from the terminal, but I get no visual
feedback when I
launch a model (having chosen variables to display... as
per tutorial).

[apollinaire:Shared/cellml_software/cese] srt% ./cese.sh
UIDefaults.getUI() failed: no ComponentUI class for:
com.javable.dataview.cursors.CursorSlider
[,0,0,0x0,invalid,alignmentX=null,alignmentY=null,border=,
flags=0,maximumSize=,minimumSize=,preferredSize=,isInv
erted=false,majorTickSpacing=0,minorTickSpacing=0,orien
tation=HORIZONTAL,paintLabels=false,paintTicks=false,pa
intTrack=true,snapToTicks=false,snapToValue=true]
java.lang.Error
at javax.swing.UIDefaults.getUIError
(UIDefaults.java:689)
at javax.swing.UIDefaults.getUI
(UIDefaults.java:719)
at javax.swing.UIManager.getUI
(UIManager.java:791)
at javax.swing.JSlider.updateUI(JSlider.java:247)
at
com.javable.dataview.cursors.CursorSlider.updateUI
(CursorSlider.java:76)
at javax.swing.JSlider.<init>(JSlider.java:197)
at javax.swing.JSlider.<init>(JSlider.java:150)
at com.javable.dataview.cursors.CursorSlider.<init>
(CursorSlider.java:52)
at com.javable.dataview.cursors.CursorProxy.<init>
(CursorProxy.java:58)
at com.javable.dataview.DataView.<init>
(DataView.java:117)
at
com.javable.dataview.ViewContent.createDataView
(ViewContent.java:163)
at
com.javable.dataview.ViewContent.createLegend
(ViewContent.java:181)
at com.javable.dataview.ViewContent.<init>
(ViewContent.java:55)
at com.javable.dataview.DataFrame.<init>
(DataFrame.java:58)
at com.javable.dataview.DataDesktop.addFrame
(DataDesktop.java:95)
at com.javable.cese.DataExport.prepareExport
(DataExport.java:70)
at
com.javable.cese.templates.AbstractAPModel.simulate
(AbstractAPModel.java:393)
at com.javable.cese.ModelManager$3.construct
(ModelManager.java:285)
at com.javable.utils.SwingWorker$2.run
(SwingWorker.java:120)
at java.lang.Thread.run(Thread.java:552)

Discussion

  • Sergey Missan

    Sergey Missan - 2004-06-24

    Logged In: YES
    user_id=733355

    the CursorSlider assume Swing Metal theme (Look&Feel) to
    be available, but on MacOSX
    the default theme is Aqua. Hence the error -- it can find a
    proper
    (Aqua) presentation for my custom cursor component.

    The temporary workaround is to force CESE to use a cross-
    platform
    (Metal) look&feel.

    Open cese.sh file and change the last line to:

    $JAVA_PATH -Xmx256m
    -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -
    cp
    bin/lib/cese.jar:bin/lib/dtdparser.jar:bin/lib/xercesImpl.jar:bin/li
    b/xml-
    apis.jar:bin/lib/jh.jar:./bin/:./bin/cese/:./bin/help/:/bin/help/hel
    p.jar
    com.javable.cese.CESE

     
  • Sergey Missan

    Sergey Missan - 2004-06-24
    • status: open --> closed-fixed
     
  • Sergey Missan

    Sergey Missan - 2004-06-24

    Logged In: YES
    user_id=733355

    Scripts updated in 1.3.1

     
  • Sergey Missan

    Sergey Missan - 2004-06-24
    • assigned_to: nobody --> smissan
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks