Re: [jupyter] iJava - Jupyter Notebook - Displaying JFrame

76 views
Skip to first unread message

Jason Grout

unread,
Apr 16, 2019, 7:34:16 PM4/16/19
to Project Jupyter
Are you using a Java kernel? I would suggest (a) listing what kernel you are using and (b) also posting an issue on the kernel's repository. Hopefully someone with experience using that Java kernel can help.

(I have no experience using a Java kernel, but that would be where the question would be answered.)

Jason


On Tue, Apr 16, 2019 at 10:18 PM Dan <dan.ma...@gmail.com> wrote:
I am toying with using Jupyter Notebook to teach my high school Java class.
My first problem is that I don't know how to get the JFrame to display in the Jupyter Notebook.  
I can make an instance of the JFrame and can display it as a String.  However, I can't get it display as a graphic or as a pop-up.
If this can't be accomplished, please let me know that as well.
Thank you for your assistance.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/faf8b7ef-8910-4e5b-9e06-a4072f578795%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sp...@draves.org

unread,
Apr 16, 2019, 9:20:06 PM4/16/19
to jup...@googlegroups.com
Hi Dan, JFrames are part of the awt Java package -- they expect to open a window connection of their own.
This is hard to imagine in a web app like Jupyter but maybe there is a way, who knows.
Jason's advice is good. Do you mean this kernel? https://github.com/SpencerPark/IJava/issues
If you want to build UIs with Java in Jupyter you can use widgets in BeakerX: http://beakerx.com/
Best, -Scott


For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages