I'd like to create a GUI that displays a tree, some text boxes, buttons, and then as a panel, a fully-functional notebook. Is that possible?

  • $\begingroup$ Try putting a PaletteNotebook where you want it. $\endgroup$
    – ssch
    Commented Jan 9, 2013 at 21:15
  • 1
    $\begingroup$ Are you sure you want to use GUI-kit? Since the arrival of version 6, more than 5 years ago, this has been been pretty much been obsolete. $\endgroup$ Commented Jan 9, 2013 at 21:43
  • $\begingroup$ Well, no, actually. I want to embed it in a GUI constructed in java. I thought I came across a way to do this in the documentation, but I can't find it now. @ssch, thanks I will check that out. $\endgroup$
    – Max
    Commented Jan 10, 2013 at 4:36
  • $\begingroup$ Maybe with "native Swing": djproject.sourceforge.net/ns/index.html But why do you really want to do that and not use CDF right away? $\endgroup$ Commented Jan 10, 2013 at 16:41
  • $\begingroup$ related: mathematica.stackexchange.com/questions/5603/… . the "solution" there is to host an HTML page that contains the CDF object in an HTML View, which I'm sure the Java libraries have. $\endgroup$
    – amr
    Commented Jan 10, 2013 at 19:44

1 Answer 1


I realized just now that I never came back and explained how I solved this problem. I used the MathSessionPane class provided in JLink:


It's not a fully fledged front end like you'd see in Mathematica, but it worked quite nicely.

  • $\begingroup$ The link is broken $\endgroup$
    – Ruslan
    Commented Feb 22, 2015 at 18:25
  • $\begingroup$ @Ruslan That's because they renamed everything to "Wolfram Language" .. fixed now. $\endgroup$
    – Szabolcs
    Commented Oct 6, 2015 at 9:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.