All Questions

Tagged with
Filter by
Sorted by
Tagged with
26 votes
6 answers
34k views

Embed Java into a C++ application?

I got an application written in C++ and I am able to extend the applications functionality by writing plugins in C++ for it. What I basically want to do is to embed Java into this application. This ...
Niklas R's user avatar
  • 16.6k
26 votes
4 answers
11k views

Is there an embeddable Java alternative to Redis?

According to this thread, Jedis is the best thing to use if I want to use Redis from Java. However, I was wondering if there are any libraries/packages providing similarly efficient set operations to ...
Andrew Mao's user avatar
  • 36.3k
16 votes
5 answers
59k views

Run a Java application in a web browser

I am relatively new to Java and have a Java application consisting of a couple of packages and a number of classes. I want to be able to run this application in a web browser. How do I go about doing ...
Shanon 's user avatar
  • 161
13 votes
1 answer
110k views

Java Embedding Into HTML

I'm sure this question has been asked a million times, but no matter how many Google searches I do I cannot get this working. I'm basically trying to get a project with multiple packages in it to be ...
Doug's user avatar
  • 387
11 votes
5 answers
12k views

Embedding web browser window in Java

Does anyone know a way to open up an instance of the operating system (Windows/Linux/Mac) browser within a Swing window that is integrated into a Java application. No other actions would be performed ...
Elijah's user avatar
  • 13.5k
10 votes
2 answers
17k views

WebKit browser in Java app on multiple platforms

I'm trying to embed a WebKit browser in my Java app. I insist on WebKit, because I don't want to test my HTML5/CSS/Javascript with every browser that, for instance, the Browser widget in the Eclipse ...
Jean-Philippe Pellet's user avatar
10 votes
3 answers
5k views

Embedding Office in Java

I'm trying to get Office 2007/2010 application embedded inside a Java application using SWT using the following code: import java.awt.Canvas; import javax.swing.JFrame; import org.eclipse.swt.SWT; ...
Luke Quinane's user avatar
  • 16.5k
9 votes
3 answers
987 views

How to switch embed element type from PDF stream to text stream

In my JSP web application I am using the embed element to display a PDF. <embed src="someurl" width="900"> The someurl will return a PDF stream in one case and a text stream in another case: ...
Rookie007's user avatar
  • 1,239
8 votes
6 answers
36k views

Embed browser in Java based desktop application [duplicate]

Possible Duplicate: Is there a way to embed a browser in Java? How can I embed a browser in a Java based desktop application? Can I communicate with the embedded browser directly (not via ...
jrhicks's user avatar
  • 14.9k
8 votes
2 answers
24k views

how to embed multiple images while sending html email using Java mail

I'm trying to send email from javamail. I'm embeding the images and using CID. But the problem is how do I embed multiple images in a single message. if I try to add in header.. it is just taking the ...
user57421's user avatar
  • 7,461
6 votes
6 answers
6k views

What's the most secure way to embed a password inside Java code? [duplicate]

I have to preface this question by saying that I'm aware that hard-coding a password in the client application is bad practice, for many reasons. There are other questions dealing with that issue. The ...
Smig's user avatar
  • 693
5 votes
5 answers
4k views

Java without JVM

Just wondering if there are any Java implementations that work without a JVM. The reason I'm interested is, well, simply because I'm curious, and I was wondering if there were any "lightweight" Java ...
Jonathan Apodaca's user avatar
5 votes
4 answers
1k views

java equivalent of swfobject

looking for a javascript class like swfobject to embed java and have a simple fallback if the user doesn't have java or refuses the security prompt. thanks, Josh
Josh's user avatar
  • 6,292
5 votes
1 answer
3k views

How to invoke Rhino compiled JavaScript methods (class files) in the Java program?

I compiled following JavaScript file, "test.js", into the "test.class" : var test = (function () { var that = {}; that.addNumbers = function (a, b) { return a+b; }; return that; }()); ...
Haesung's user avatar
  • 85
5 votes
1 answer
1k views

Embed processing 3 into swing

I'm trying to integrate Processing 3 into a swing application, but because PApplet doesn't extend Applet anymore I can't just add it as a component right away. Is there anyway of embeding a ...
Cooki3Tube's user avatar
5 votes
6 answers
8k views

Embedding XULRunner application on Java

My goal is to get Limewire(JAVA) and Songbird(XULRunner) to run together. I was thinking the best way is to run the XUL application(songbird) inside a JAVA swing panel. Is there another way? Would it ...
FredTheLover's user avatar
  • 1,009
5 votes
1 answer
4k views

How to get rid of Helvetica in iText XMLWorker?

We're using iText to generate PDF files from Java code, which works pretty well in most cases. A few days ago we started to generate PDF/A instead of normal PDF files which needs to embed all fonts. ...
Daniel Bleisteiner's user avatar
5 votes
0 answers
901 views

Java: Embed heavyweight components in lightweight (JavaFX SwingNode)

I have been developing a JavaFX application which I need to embed a Applet into. This question has already been asked; however the answer given on that question is not sufficient. I do not have access ...
T-Fowl's user avatar
  • 704
4 votes
2 answers
3k views

Is it possible to embed java program (or applet) in a pdf file

I was wondering if it is possible to embed a java program or an applet into a pdf file. Any way of achieving this is okay for me (latex, adobe acrobat pro, etc). Thanks in advance.
Pouya's user avatar
  • 1,276
4 votes
1 answer
3k views

How to embed java into C#

Could you tell me, please, how can I embed java module/source code into C# application? For example i have some logic that written on java and this logic uses some third party libraries which can be ...
Edward83's user avatar
  • 6,694
4 votes
1 answer
159 views

Canonical way to include an applet

What is the canonical way to include the Applet? I have tried, Switch on Browsers in JS. http://download.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#javascript This ...
agiliq's user avatar
  • 7,658
3 votes
1 answer
29k views

Display thumbnail image in iframe

I am fairly new in this. I have the following iframe <iframe width="560" height="315" src="<%=video1[1]%>" frameborder="0" allowfullscreen></iframe> What I am trying to do is have ...
A.J's user avatar
  • 1,180
3 votes
2 answers
3k views

Easily exporting python to someone without the interpreter

Suppose I have a group of people to whom I want to show my python program. I don't want to have to tell them each "Ok, go to the python website, install the interpreter, open IDLE, open my program, ...
user1048917's user avatar
3 votes
4 answers
3k views

How can I embed Weblogic server in java?

I am searching any way for embedding Weblogic server in Java , I know its possible because we have maven plugins for Weblogic which embeds Weblogic in maven, But googling for it did'nt gave me useful ...
Xinus's user avatar
  • 30.1k
3 votes
1 answer
1k views

Embed a browser in Libgdx

I am writing a cross platform app(PC, iOS, Android) in Java. I would like to integrate facebook into this app. I have been trying to find a uniform method to login, since it is a cross-platform ...
eBehbahani's user avatar
  • 1,579
3 votes
1 answer
1k views

How to embed a Twitch Stream inside a JFrame

I am a novice programmer and I'm trying to create a program that has links to many popular 'streamers' on Twitch.tv. (For those who don't know: Twitch.tv is a streaming website for people who stream ...
XQEWR's user avatar
  • 638
3 votes
1 answer
1k views

Embedding a Java (.jar) file within a Mac Application

I need to have a .jar file run within my main NSWindow, how can I do this? I have been looking at Apple's example for "JavaFrameEmbedding", and seem to be able to run it without any Java exceptions (...
SomeGuy's user avatar
  • 9,690
2 votes
5 answers
7k views

Embed hibernate hbm.xml mappings in jar

Is it possible to embed the hibernate mapping hbm.xml’s to the jar and avoid manual reference in applicationContext.xml like <bean id="sessionFactory" class="org.springframework.orm....
Quintin Par's user avatar
  • 16.1k
2 votes
6 answers
5k views

How do you embed Java into a microcontroller?

I have a microcontroller that when an event, I want it to send an email. I know how to use email in Java, but how can I put that Java code in the midst of the C code of the microcontroller? #include &...
Derek Argueta's user avatar
2 votes
2 answers
3k views

Embedding an application inside another application

I'm sure some of you noticed that if you have Acrobat Reader ( or any other pdf viewer ) , and open a pdf in Firefox , you will see it embedded inside your tab . Is there any way to embed an ...
Geo's user avatar
  • 94.9k
2 votes
5 answers
4k views

How to embed a Java control on a C# winforms control?

Can I put a Java control (SWT, Swing, ...) on a C# control? I know it's possible with web controls but I don't like this way.
FerranB's user avatar
  • 36.2k
2 votes
2 answers
2k views

embedding and interacting with a browser like view in a Java application

I was wondering how I could embed a browser like view in a Java client application, at the same time that I can interact with it by means of JavaScript. The problem that triggered this question is the ...
Sergio's user avatar
  • 8,592
2 votes
2 answers
3k views

LuaJ Import Lua Methods

I'm using LuaJ, and I have a .lua file filled with a bunch of functions. How do I import these functions to use in Java with LuaJ?
Anonymous's user avatar
  • 351
2 votes
2 answers
2k views

Is it possible to embed a flex component in a pure java android application?

I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic java android application. I found some ...
Swan's user avatar
  • 23
2 votes
1 answer
2k views

Embedded Jetty 8 hot deploy classes (using Maven)

I have a standard Maven webapp structure defined, and it uses Spring MVC. I am using an embedded Jetty server (java class) for testing the application in development. The code used to create the ...
Ayub Malik's user avatar
  • 2,538
2 votes
1 answer
823 views

Applet with dependencies in Eclipse

I'm fairly new to eclipse and java in general, so I'm sure this is pretty basic, but I can't find anything that points me in the right direction. How do I run/test an applet in Eclipse that requires ...
ima747's user avatar
  • 4,667
2 votes
1 answer
644 views

Embed Java applet in a website

Recently, I had came across an open source a Java applet. I wanted to know is there somehow I could create a script that could be distributed and the applet could be embedded in any website? I have ...
Cipher's user avatar
  • 5,992
2 votes
2 answers
254 views

Java application that can run entirely from a DVD

I have to create a java application that can run entirely from a DVD. The application must connect with a database that will be also on the DVD. I was thinking to use an embedded database but i dont ...
nick.tsilivis's user avatar
2 votes
2 answers
2k views

How to embed a LDAP server to provide custom data

I use a closed source application that can be configured to use a LDAP directory for getting group memberships of a user. The LDAP query can be configured at will. Now I need to integrate various ...
Marged's user avatar
  • 10.8k
2 votes
2 answers
2k views

How do I upgrade this embedded tomcat?

I want to basically upgrade my tomcat version(on RHEL). Always worked in an environment where my war file would be dumped into */webapps, on restart of tomcat, the war file would expand and the rest ...
pavanlimo's user avatar
  • 4,182
2 votes
1 answer
2k views

react native embed video not working

It's a known issue for react native webview doesn't handle video playback well. I found that in this discussion https://github.com/facebook/react-native/issues/6405 and https://github.com/facebook/...
dev-jim's user avatar
  • 2,474
2 votes
1 answer
2k views

Is there a way to dynamically embed PDF Files in a JSP pulled from the file system?

I understand that it is possible to embed a PDF that is located on the server (ex: <object data="pdf/Test.pdf"/> however is it possible to somehow embed a PDF that's located within the ...
Chandler E.'s user avatar
2 votes
0 answers
144 views

Java Applet run under host of file

I am new here, so cut me some slack if I do something wrong. I am running a Java Applet in the background of my site as a hidden 'JavaScript iFrame'. It runs on every page of my site. Every time I ...
HeroCC's user avatar
  • 1,018
2 votes
3 answers
6k views

Embedding Executable Java (or exe) files into HTML (or php)

Basically I want to embed the executable jar file of "Catacomb Snatch" [new Mojang game] into my html webpage. I've looked around but I can't seem to find much information on this. If it would make ...
MGakowski's user avatar
2 votes
0 answers
1k views

How to edit file in client browser and then send it back to server

I am building a application in which user has to fill the pdf form and has to send it back to server. I was hoping it to do it with object HTML tag. But i dont know how to send that edited document ...
my_life_as_binary's user avatar
2 votes
1 answer
3k views

How to play .wav file from URL in web browser embed - Java

I want to play a .wav sound file in embed default media player in IE. Sound file is on some HTTP location. I am unable to sound it in that player. Following is the code. URL url = new URL("http:...
Tahir's user avatar
  • 3,464
1 vote
3 answers
487 views

What the mechanism use to integrate python with other languages (.Net, Java ....)

Somebody talking the python's code can embed into C#'s code. What the mechanism to do that? please explain for me. Thanks a lot
Linh's user avatar
  • 1,022
1 vote
2 answers
299 views

Is it possible to embed a Swing component in a JavaFX application?

I've heard rumors of people creating their own custom libraries for one, but I have yet to find one for myself. I need it because I need to mount another running applet (in a JPanel in Swing) for my ...
user1964913's user avatar
1 vote
2 answers
5k views

How to load a Java applet class from a subfolder with the embed tag?

I have a Java Applet as a single class file (No JAR file) in some sub directory and I want to embed it on a HTML page which is in a different directory. And I want to use the embed tag for it. But I ...
kayahr's user avatar
  • 21.4k
1 vote
3 answers
1k views

Applet troubles

I'm trying to embed an applet in my site, but I can't for the love of God figure out why this won't work! I have a JAR file called BHSurveyor.jar with my class that extends javax.swing.JApplet in it ...
Ky -'s user avatar
  • 31.5k