This question already has answers here:
Embedding Java Applet into .html file
(2 answers)
Closed 6 years ago.
How can i embed a java applet in blogger. I am writing a blog on blog spot.com and I want to attach a java applet in that. Is it possible to do so? if yes, then how?
I tried to write this code in blog's html tab
<applet code="calculator.class" height="500" width="500"></applet>
but it doesn't work...
You don't.
Probably nobody told you so far, but applets are "dead technology". The only reason to do anything with Applets in 2016 is because you are working in some company that still uses them for some of their internal stuff. Then, and only then you should be spending your time on learning/programming applets. But in any other case, you would be wasting your time.
You see, browser like chrome have stopped supporting Java/applets quite some months ago.
Nobody does reasonable front work using applets any more. In other words: look into JavaScript or any of the huge frameworks around that. And figure how to use something like that instead of applets.
Related
This question already has answers here:
Java / Jakarta EE web development, where do I start and what skills do I need? [closed]
(9 answers)
Closed 5 years ago.
For my bachelor degree I need to develop a responsive Web Application using JSF and Prime Faces.
My problem is that I have no clue of how to start it.
Can you recommend me what tools should I use (all of them)? Where can I find a "Hello world!" like tutorial, explained for users with no experience? From where can I get UI components like buttons, menus, etc?
Thank you very much.
PS: English is not my native language.
I don't know why you asking it, because the answer is on the official site, they have learning section: http://www.primefaces.org/documentation
It has a lot of information which I am sure will be enough for your project.
All tutorials are easily found using google, here is one of them: http://www.journaldev.com/5516/primefaces-tutorial-with-example-projects
This question already has answers here:
How can a program control another program?
(11 answers)
Closed 8 years ago.
I wonder is possible to make a bot writen in JAVA, which will open some program(program is under windows), click on the button in this program and type some data, check status of this program(login or logout, this is client for online game).
Which JAVA tools I need ? I think that java robot lib is not enough for this.
Thanks in advance.
You cannot do this using JAVA.
JAVA is a language which is loosely coupled with operating systems, so it can only receive mouse/key messages from underlying OS. Among all the tasks you mentioned , it can only start the program by using Runtime.execute.
If you want to implement a software like this ,you should use Visual Studio and use Microsoft technologies.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is there any program like LINQPad for Java?
My question is similar to Is there any program like LINQPad for Java?, but not the same.
Like the author of the original question, I am not interested in the database quering capabilities provided by LinqPad.
What I am looking for is a desktop utility to run short java code snippets. I am not interested in any web based solutions, so groovy web console is out of the question.
(Showing Java byte code is a bonus, but not a must)
Thanks.
This can be done using Eclipse scrapbook pages.
This question already has answers here:
What is Java's answer to WPF? [closed]
(3 answers)
Closed 9 years ago.
We are doing an evaluation of what to use for client technology, I was wondering what Java has to offer.
I know that this is a close duplicate to this question:
What is Java's answer to WPF?
But the answer in the above question is over 2 years old, so the answer today could be different.
This 2011 Java wil lunch JavaFX 2.0, you will use the JavaFX API's with core Java language instead of the JavaFX Script in 1.x versions.
I concur with the others here that JavaFX was probably intended to be Sun's answer to WPF and Silverlight, but it's never quite reached the standard that Microsoft's technologies have.
Another Java alternative to Silverlight is BlazeDS and Spring BlazeDS which use a Java application server as the backend, and Adobe Flash as the client (using Flex). I've never used it, but the combination looks pretty similar to using Silverlight.
JavaFX is in full swing and Oracle has already made early access release available. More answers can be found here, but surely a competitor is in the making that will give its counterpart a tough time soon
I think that JavaFX still lives. You can check Eclipse Rich Ajax Platform too. I think this is suitaible answer to Silverlight.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How can I convert OO Perl to Java?
Hello.
I have a perl script and I want to translate it to Java.
Is there any translator/conversor from perl script to Java?
By the way, I'm developing an Android 2.2 application.
EDIT
I have closed the question. Stop downvoting me!!!!!! And if you downvote tell us why!!
Thanks.
You should consider using the Android Scripting Environment so that you can just use your Perl script rather than having to "translate" it to Java (especially if you plan on relying on some translation tool to do it).
It supports Perl, along with Python, Ruby, and some others.
Just my two cents...
I would convert the Perl to Java by hand that way you are 100% in control of the Java code running in your Android application and that way you will understand what the Perl code is actually doing rather than relying on it to work when there is a bug in your Android app.
No. There's the JPL project from the 90's that might've been a workaround, but I'm pretty sure it fell apart along the road.