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
On Tue, Apr 16, 2019 at 7:34 PM Jason Grout <[email protected]> wrote: > 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 <[email protected]> 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 [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/faf8b7ef-8910-4e5b-9e06-a4072f578795%40googlegroups.com >> <https://groups.google.com/d/msgid/jupyter/faf8b7ef-8910-4e5b-9e06-a4072f578795%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/CAPDWZHxysqTM9ky3Bsr2n%2BwG6sswFrzvXMP6Y2FqVZ%2Bw1qtUGA%40mail.gmail.com > <https://groups.google.com/d/msgid/jupyter/CAPDWZHxysqTM9ky3Bsr2n%2BwG6sswFrzvXMP6Y2FqVZ%2Bw1qtUGA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *CTRL-labs.com <http://CTRL-labs.com>* ScottDraves.com <http://www.ScottDraves.com> @Scott_Draves <http://twitter.com/scott_draves> -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAMaD%2Bf512XoMQxDzJB9tgCRkanYMA%2B6KeU3g2NAZLHW6p1_46Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
