Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to write various web browser games and apps to post to my own personal website, mostly for fun. I'm pretty familiar with Java and starting to get into C a little. As I understand it, I cant just run a common java application from a web browser but have to use the JApplet class or Applet class(or possibly others.) Can I use a JApplet to make fairly sophisticated games or is it really just for basic display images? I'm willing to learn something completely outside of Java.
I've been browsing the web but am a little overwhelmed in deciding how I should go about this. I would like to make games that are pretty simple graphically, but can remember things like a characters inventory.
Its really just a place to host different games and things I make. How should I go about this?
I hope this isn't too vague.
The only language you can guarantee within a web browser is JavaScript. You can write highly sophisticated games using JavaScript, so this shouldn't be a major problem - you can see an example written using Unreal Engine and JavaScript on YouTube.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Im quite good with writing text based programs using Java and ill like to proceed to writing GUI programs and animations ive checked several youtube playlists and they dont seem do helpful so i would appreciate any tips on where to start.
For desktop applications, You should start with Java Swing.
Swing API is a set of extensible GUI Components to ease the
developer's life to create JAVA based Front End/GUI Applications.
There are some good tutorials, I would suggest the following:
JavaTPoint and TutorialsPoint
After completing swing, you can move on to JavaFX.
JavaFX is a set of graphics and media packages that enables developers
to design, create, test, debug, and deploy rich client applications
that operate consistently across diverse platforms.
For that, you may follow to begin with
code.makery
Sounds as a great question, but not self explanatory. Before making assumptions just ask your self -
Do I feel myself as Web developer or a Desktop(Core) developer?
From a prospective of Desktop developer - take a look at Swing - it allows to make GUI forms and etc. If you decide to learn web, then take a look at Vaadin (which is made on top of GWT, and easier to dive in)..
Both of them have simlar syntax, so it would be always easier re-qualify...
UPDATE: While you still decide where to go, see this humble example of Vaadin Application
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am a C# .NET developer and I always use Visual Studio to create my applications. Now I am studying Java with the netbeans IDE and I have no clue of how to create a Form Application?
I have used Jform etc. But this is just annoying. I was trying for 3 hours just to relocate a button while resizing my window.
Does anyone have any suggestions on how to make this easier?
Unfortunately, IMHO, creating GUI applications in Swing is a pain, especially coming from .NET.
Whenever I need to create Swing apps I find it easier to just hand code it. Although it involves much more work than in .NET, and also has a pretty steep learning curve, I find I have more control over my code that way.
BTW, once you get the hang of how things work in Swing, hand coding is pretty manageable.
Good Luck!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I never programmed real objects. I only did some JFrame, Swing and a little bit of game Engines.
I've always wondered, is it possible to program real objects? like a web camera Board? if yes, then how? Especially a web camera, how is that possible?
I have a school project about web cameras and I thought on and said to myself, why not program the board to make it more advanced!
The main question is: Can I program real life objects (like a webcam), and how?
Yes you can. Unfortunately Java is not well suited for this task (for various reasons).
I would suggest you buy an arduino set and learn what it can do regarding controlling devices and receiving input from sensors, so you know more about what is possible.
I think you mean if it is possible to create a firmware or program embedded systems in Java. Answering this question is not so easy. If the producer of the "real object" provides you a way, how to create a programs for that real object, then yes, it is possible, but this is quite rare. You can't just buy the cheapest web camera and write your own firmware. Google up some programmable devices, that you can fiddle with or if you are just curious and this is you hobby, then make an application for a smartphone. Android devices are programmed in Java and you can play also with the camera.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
recently I have been making easy games such as 'blackjack' , quizzes, etc. How do I host these games online so others can play? Keep in mind these games do not use an application. Thank you
If your application is Swing/AWT based - and if you implement the game as a Component or JComponent - you can then, with minimal changes, make it run as both a Swing/AWT (i.e. desktop) application or as an Applet (embedded in a web page). You can make both run from the same .jar file, if you set it up right, and that file can also contain you resources (images, sounds). (It doesn't have too - but they you may need to load these resource in a somewhat different way, depending whether you are running as an application or applet.)
For the desktop, place you game component into a JFrame and display this (with appropriate sizing, etc).
For the web, place the component into an Applet. You will need a bunch of configuration and an HTML page with the applet in it. But once you have this you can host you game on any ordinary ISP site.
This may be a bit out of date, but: http://docs.oracle.com/javase/tutorial/deployment/applet/
I would suggest looking into Ruby on Rails for back end develoment: http://rubyonrails.org/
and Javascript for front end development: http://www.w3schools.com/js/
http://www.codecademy.com/ also has great lesson plans for building online games.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How can I create a site that users can manually make their own websites using my control panel in the site like Yola or Weebly that are free web developers. I think they use JSP but not sure. Can you help me that what kind of language they make those sites?
You could use any server-side language to develop a "site for making sites". PHP, Java (JSPs), Ruby/Rails, Python/Django... there are a lot of options. Some languages are better for certain tasks than others, but pretty much anything on the market would suffice for creating the website-making site.
As for "how to create" such a "site-building site":
You would need to supply users with templates, tools to edit those
templates, and ways to change the metadata about their sites.
You would also need to provide hosting for your users. You might come
in the form of subdomains, like jacksonssite.awesomewebsitemaker.com.
You would also need to make sure that your templates create pages
that are secure from "hackers" and the like.
You might also need to create tutorials / hire a support staff, to
help the technologically-illiterate use your tools.
And many more things as well.
It would be a complex task. If you are a beginner to web programming, undertaking a project like this would be far too ambitious.