Java with Delphi 5 [duplicate] - java

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Using a java class from Delphi
I wrote a program in Delphi 5 years ago and I am now revisiting it. Is it possible to write a class in Java and then use it as a component in the Delphi 5 program? If so what is the best way to approach the problem?

The only way I can think that might work is creating an Applet in java and showing it on a web browser component from Delphi. But I don't know how can you access properties from this applet.

Related

How to use python Codes in Java? [duplicate]

This question already has answers here:
Calling Python in Java?
(12 answers)
Closed 4 years ago.
I am a beginner in Java And I have some experience in python
I am wondering if there is a way to use python in java.
Thanks in advance.
You can simply convert your python code to binary and use is in any other languages as a added library package. I thing Juthon comes handy in this manne.
Jyhton documentation.

Can we program a burner software like Nero in JAVA only,... HOW? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Reading and Writing to a DVD/CD - Java
Is possible to build/code a burner software like Nero in JAVA Only ? ... How do that ?
That's will be great if it's possible !!
Thank you
No. Java does not have direct access to the hardware from pure Java code. You'd have to use native code loaded via JNI calls.

What is closure? It is supposed to be included in Java 7 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is a closure? Does java have closures?
Closure in Java 7
What is closure?
It is supposed to be included in Java 7.
Can anyone please provide me with some reliable references from where I can learn stuff about closures?

Is there any program like LINQPad for Java? (Not a duplicate!) [duplicate]

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.

Check if screensaver is active [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to determine if a screensaver is running in Java?
is there any way you can find out if the screensaver is active with java? I've searched the web but the only things I found was very complicated native code... My program is made for windows only.
Java cannot handle system tasks directly.
You should use JNI (Java Native Interface) or JNA (Java Native Access) to do it.
I haven't tried this code, but they claim to answer your question with JNA as Ammar suggested: Screen Saver State.

Categories

Resources