Judging from your answers it seems like both applets and jws will work so I might try both (I need to learn them anyway) but I started out trying applets. So far I get it to work pretty good by just open my JFrame in the applet init block. I had to change my ImageIO.read(new File("bild.jpg")) to new URL(getDocumentBase(), "bild.jpg") and that part seems to work. My problem now is to connect to a mysql server. I think the database is on the same computer as the server but I'm not sure, I use one.com as my webhost. When I try to call Class.forName("com.mysql.jdbc.Driver") I get a noClassDefException. I think I can get it to work though.

I’ve made a platform game in Swing and it works pretty good on my computer. Now I would like to put it on my website for my friends to play it. Which way is the best?Java applets: Extend Applet from the JFrameJava Web Start: Don’t really know what this is. Does it require my friends to download special software?Java FX: Don’t really know what this is either but from what I heard it is similar to an applet.

The game has to be able to communicate with mysql on the server, both write and read. Ideally it will be full screen.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org