Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I built a Java game for a CS class. The code can be found here. The main class is Game.Java found here. I have a simple static website hosted on GoDaddy found here. I would like to allow a visitor to my website to play the game on a web browser I don't have a server yet, so I'll buy a basic
VPS through GoDaddy. Besides that, what's the best way to go about it? I think Applet is no longer supported by Chrome. Is Java Web Start the only way now? I would prefer if the visitor doesn't have to download anything. Any supporting material or YouTube video would be helpful as well.
Java is no longer supported by any modern browser, so the only way people will be able to play your game is to either include a client-side, JS/WASM-based library that sets up a complete JVM and then running the game inside of that on your page, or by giving people a link to your game's .jar file, so that they can download and run it on their own computer.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
As you maybe know, the Google Map API has changed few months ago and the way to implement it in a JPanel changed as well. I was looking for a solution all week and never found it.
I found some tests from google on github but it never show how to put it in an interface.
So does someone know how to put a Google Map (from the new Google Map API) in a JPanel ?
You can still embed a web browser such as the on in JavaFX and use the normal google maps example html+javascript and make javascript calls through that browser component. Though beware that the browser component in javafx has had severe issues with google maps in the past. Some versions have worked great, some not so much...
A high performance prepared java swing component that is a wrapper around chromium browser for google maps with pure java api:s is available for commercial and open source:
https://www.teamdev.com/jxmaps
Trying their demo it shows great performance (I've no affiliation).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm pretty new to Developing in Embedded Linux and I'm trying to develop a basic Java based UI application that'll need run on a single board computer with an ARM processor.
I've seen here and here that none of the major GUI platforms - JavaFX, Swing and AWT are available with Java Embedded.
I do know that Yocto has a something called SATO to serve as a user interface but I couldn't find much information on it and I'm not sure how to use it develop a GUI application that can run on an Embedded Linux image created through Yocto
I'd really prefer Java but I'm open to other languages too.
Thanks in advance for any help.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I got a mine craft server online (https://server.pro/control-panel/1446793/) and I need to click the restart button every 45-55 Minutes. How can I do this? Is it possible to Do using GC (google code)? If not do i use java? Is it even possible? I have no idea what to do. Any response is helpful (even if it says something I have done wrong :) )
If i do need to use JAVA what program would i use to make the script (If there is one)
I am not familiar with either of those languages, however I have made an autoclicker in C. It can be found here. If you are unwilling to use mine, there are many other autoclickers out there.
There are many ways to do it. You could write some javascript that is injected into the page by plugin. You could also do it in Java with a Robot although that would be more hacky than the first solution. Also the Selenium library may help you as it's used for writing tests that will click different things on the web page.
You don't need to click the button from the remote to restart the server.
You can do that with a plugin, for example auto-restart plugin
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am new to Java programming language. And would like to do a small app to learn on and get a head start into java.
I use an app called unlocker from emptyloop dot com. But its got adware, etc. So I just wanted to learn how to write my own app for myself to delete undeletable file or folder in windows.
Can anyone help me out, or know where I can find an example, I tried googling, but had no luck.
Well, I guess Java wouldn't be the right choice for that since it's a platform independent framework. And 'unlocking' files is very platform dependent in my opinion
But maybe you take a look at ForceDel. It's open source software and claims to do what you are looking for.
ForceDel uses some exciting new APIs introduced with Microsoft Windows Vista to determine which processes have a specified file in use. With this information, ForceDel is able to close the file in the remote process address space and then delete the file.
Starting with version 1.2, ForceDel can also delete files on Windows XP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'd like to develop a web based 2d game, similar to flashgames.
It should supports Sprites etc., so that it's really easy to do the graphic stuff. I don't have flash, so are there any reliable (JavaScript) engines maybe, with active Users?
...Or could I use Java instead, build an offline game and afterwards, make it playable in a webbrowser with a certain plugin? That would be really nice.
A good 2D library in JavaScript is http://gamejs.org (I'm the main dev) - it supports sprites, collisions, etc.
If you are already familiar with Flash ('similar to flashgames'?) then you might want to try http://easeljs.com
Finally, here's a pretty complete but probably overwhelmingly long list of JavaScript game engines: https://github.com/bebraw/jswiki/wiki/Game-Engines
If you want to use Java would a Java Applet be the technology you are searching for.
I dont think that JavaScript would be a good choice as soon as it gets a bit more graphic intense