Forgive me if this subject has been covered, as I'm sure it has. My lack of knowledge on the subject has made it difficult to pose the question in any searchable term that yields a clear answer. I realize that it would become clear to me as I learn the language, but I'm learning as I go and I do not know where to proceed from my current juncture.
I'm attempting to create a web page that takes user inputs from form fields and outputs various calculations as values displayed on the same web page. In addition to this, the user inputs create a "Gun" class instance and set its fields. Another class's method within the project generates random x and y coordinates based specific fields from the Gun instance. These coordinates are meant to be used in a Swing class, perhaps fillOval, to draw circles (which represent bullets) over an image embedded in the page. This is essentially a shot simulator.
Can this be done? Can a JFrame be embeded in a web page? Or am I wasting my time? Is there a more efficient language for this than Java?
Aucun commentaire:
Enregistrer un commentaire