How to make video file in Java
hi all,
I have a small requirement.I have some text pasted on my web page .I need to convert it to video media file by attaching a background music to it dynamically.
Thanx in advance,
renu
hi all,
I have a small requirement.Small?
I have some text pasted on
my web page .I need to convert it to video media file
by attaching a background music to it dynamically.
Thanx in advance,
renuA question usually ends with a question mark.
And what does text to video mean anyway?
Similar Messages
-
How to download video files using java
hi,
i am designing a download manager using java. Although i am able to download html pages and images as of now, i am facing problems while downloading the video files. Can somebody please guide me as to how to do this.
Thanks in advance,
ArunAll types of data should be downloaded in same way. What is your problem: exception or something else? Post here.
-
How to make Exe file of java program
how we can make the exe file of java programs. that can run independently of particuler JVM. like in VB we can create exe files.
- early thanksCheck this out:
http://search.java.sun.com/search/java/index.jsp?qp=%2B
orum%3A31&nh=10&qt=create+exe+file+program&col=javaforu
s -
How to make .exe file in java swing
dear friends;
i am working on a project. I want to create a setup file so that we can install our software any where on the system and for that I have to make .exe file. pls gide me for making .exe file
thanks and regards
shashi_vns007prigas wrote:
Make a .jar which is javas equivalent to .exe.Then for the "..setup file.." offer the end user a JWS *(<- link)* based launch that will offer desktop integration (desktop shortcut and menu item) as well as access to automatic updates and much more. JWS will, of course, also work for Mac and Linux OS's. -
How to make exe files from java files
Ohhh, so you thought you were going to answer that question? Well I already know the answer, i.e. all the tricks with the jar files or the programs which convert java programs into executable programs.
The reason why I asked this question was to start a discussion concerning question which are frequently asked in the forums. Wouldn�t it be nice to have like statistics over the most faq here, and of course one or several pages with the answers to these questions? This would solve 2 problems:
1) The person who wants to ask the question can find the answer and the solution quickly.
2) The forums would not be packed with the same questions all the time.
I mean, you must admit that the questions regarding �exe files� are asked a lot of times.
Happy coding to ya all!
/TMYeah thats my point! these questions should be moved
to a special page, where the answer to theam areDid you the whole message? I said there are FAQs. -
How to make Jar files in JBuilder
I would like to know how to make jar files using JBulider. I have a problem with a project that I am working with in Swing. I have made the project on JBuilder and when I make a jar file it will not run upon clicking.
Any body with an answer, please help
AbhiIt sounds like your Main-Class is not set properly in your manifest. To set your Main-Class, please follow these directions:
http://java.sun.com/docs/books/tutorial/jar/basics/run.html -
How to make jar file for this compilation method ?
can any one tell me how to make jar file for this compilation
D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
*this is a compile code:-*
D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
*and this is a run code:-*
D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.
-
How to make destop application using java
how to make destop application using java
i mean to say when we double click on the exe file the program should lounch the application
for windowswhen i double click ii got the msg
Failed to lad main class manifest attribute from
x/x/xyz.jar
what exatly it meansIt means that your Manifest.MF for the JAR file should contain an attribute called Main-Class pointing to a class containing the main() method.
Something like this should be present in META-INF/Manifest.MF :
Main-Class: MyApplicationMain -
How to run ear file in java application server
i want how to run .ear file in java application server
1. i m created ear file
2. i m created jar file (bean,home,remote)
3.i m created war file(in the form of jsp)
but till now i couldnt run ear file
how to run
please hel meYou must create :
1.Jar file
2.War file
And then put them into an ear file
Exemple : myapp.ear contains
myappEJB.jar
myappWEB.war
META-INF/application.xml
and application.xml looks like this :
<application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>myapp</display-name>
<description>Demo application</description>
<module>
<ejb>myappEJB.jar</ejb>
</module>
<module>
<web>
<web-uri>myappWAR.war</web-uri>
<context-root>/myapp</context-root>
</web>
</module>
</application>Good luck -
How To Read RTF file in JAVA? Using iText?
How To Read RTF file in JAVA? Using iText?.....
import java.io.*;
import com.lowagie.text.*;
import com.lowagie.text.rtf.*;
public class RTF3 {
public static void main(String[] args) {
// System.out.println("This example generate a RTF file name Sample.rtf");
// Create Document object
Document myDoc = new Document();
try {
// Create writer to listen document object
// and directs RTF Stream to the file Sample.rtf
RtfWriter2.getInstance(myDoc, new FileOutputStream("Sample.rtf"));
// open the document object
myDoc.open();
// Create a paragraph
Paragraph p = new Paragraph();
p.add("Helloworld in Rtf file..amazing isn't");
// Add the paragraph to document object
myDoc.add(p);
catch(Exception e) {
System.out.println(e);
//close the document
myDoc.close();
Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width()F
at com.lowagie.text.rtf.document.RtfPageSetting.rectEquals(RtfPageSetting.java:433)
at com.lowagie.text.rtf.document.RtfPageSetting.guessFormat(RtfPageSetting.java:362)
at com.lowagie.text.rtf.document.RtfPageSetting.setPageSize(RtfPageSetting.java:341)
at com.lowagie.text.rtf.RtfWriter2.setPageSize(RtfWriter2.java:248)
at com.lowagie.text.Document.open(Unknown Source)
at view.RTF3.main(RTF3.java:23)
CAN you HELP me?import com.lowagie.text.Document;
import com.lowagie.text.rtf.parser.RtfParser;
import java.io.FileInputStream;
String inputFile = "sample.rtf";
Document document = new Document();
document.open();
RtfParser parser = new RtfParser(null);
parser.convertRtfDocument(new FileInputStream(inputFile), document); -
How to call external files from java?
How to call external files in java. For example how to call a *.pdf file to open in its default editor(say Acrobat), or a *.html file to open in the default browser or a *.txt file in a notepad etc..,
In my program i have *.chm (Compiled Windows HTML Help) help file. how to open it in its default editor it?Jayarathina_Madharasan wrote:
no one answered my questionHi what wrong did i do...basically insulted all the volunteers here who took the time to consider your question and try to offer you help. Other than that, you did nothing wrong.
From JavaRanch :
And even if an answer doesn't solve your problem, even if it should totally miss the point - the best thing to do to motivate others to continue trying to help you is showing respect and gratitude for the investment of time that was put into dealing with your issue.
Edited by: Encephalopathic on Apr 14, 2008 10:01 AM -
How to make html file on server side from the data entered in text area
Hi!
I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???Erm ...
Whats the problem with that?!
Ok, here the code ...
String myparameter = request.getParameter("paramname");
String htmltemplate = "<html>\n"
+"<head><title>demo</title></head>\n";
+"<body>@parametertag@</body>\n";
+"<html>";
String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
File yourHTMLfile = new File("wheredoyouwannagotoday.html");
FileOutputStream fos = new FileOutputStream(yourHTMLfile);
fos.write(htmlpage.getBytes());
fos.close();You're done.
Happy Coding! :-) © -
How to compare two files in java & uncommon text should print in text file.
Hi,
Can any one help me to write Core java program for this.
How to compare two files in java & uncommon text should print in other text file.
thanks
SamHi All,
i m comparing two HTML file.. thats why i am getting problem..
import java.io.BufferedReader;
import java.io.FileReader;
public class textmatch{
public static void main(String[] argv)
throws Exception{
BufferedReader fh =new BufferedReader(new FileReader("internal.html"),1024);
BufferedReader sh = new BufferedReader(new FileReader("external.html"),1024);
String s;
String y;
while ((s=fh.readLine())!=null)
if ( s.equals(y=sh.readLine()) ){
System.out.println(s + " " + y); //REMOVE THIS PRINTLN STATEMENT IF YOU JUST WANT TO SHOW THE SIMILARITIES
sh.close();
fh.close(); }
thanks
Sam -
How to compare two files in Java & uncommon text should print in Diff text
Hi All,
can any one help me to write a java program..
How to compare two files in Java & uncommon text should print in Diff text file..
Thanks
SamHi All,
i m comparing two HTML file.. thats why i am getting problem..
import java.io.BufferedReader;
import java.io.FileReader;
public class textmatch{
public static void main(String[] argv)
throws Exception{
BufferedReader fh =new BufferedReader(new FileReader("internal.html"),1024);
BufferedReader sh = new BufferedReader(new FileReader("external.html"),1024);
String s;
String y;
while ((s=fh.readLine())!=null)
if ( s.equals(y=sh.readLine()) ){
System.out.println(s + " " + y); //REMOVE THIS PRINTLN STATEMENT IF YOU JUST WANT TO SHOW THE SIMILARITIES
sh.close();
fh.close(); }
thanks
Sam -
How to make jar files availabe for deployed EJBs
Hi,
I'm interested on how to make jar files availabe for deployed EJBs.
My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
classpath, but I think that shouldn't be the way. Is there somthing in the admin
console to make jars available or do I have to insert it in the ear file? And
if so, where do I hve to place it?
Thanks
ClaudiaPut the util.jar in the ear with your ejb jars - at the same level (i.e. in
the root) - but do not include them in the manifest.xml.
Also each ejb jar that refers to util.jar must have util.jar on its internal
classpath in the manifest.
"Claudia" <[email protected]> wrote in message
news:3d537db5$[email protected]..
>
Hi,
I'm interested on how to make jar files availabe for deployed EJBs.
My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
classpath, but I think that shouldn't be the way. Is there somthing in theadmin
console to make jars available or do I have to insert it in the ear file?And
if so, where do I hve to place it?
Thanks
Claudia
Maybe you are looking for
-
Itunes doesn't transfer all of my music to my ipad.
itunes tends to skip songs during the syncing process. It mainly happens to the albums. It misses 4 or 5 songs. Is their a simple solution? Thanks
-
This is a complaint is about being taken adavantage of.
I have been with Verizon since May of 2014 and I felt good at first about joining Verizon but at his point I am very disappointed in my experience so far. Every month has been a headache and I can not seem to see at all where the saving really are an
-
Javascript: copy an object to a new layer and tracing it
Hello everybody: I'm using Illustrator CS5 on Mac. I need to copy an objecto to a new layer and tracing it. I'm trying to execute the script above. There is no problem with the copy to a new layer, but Illustrator returns the error "newItem.trace is
-
How do I send instance for manual recovery at run time.
Hi I have a BPEL process within which I am trying to handle a business error. I understand using the default-policies on the application server I can send a message for manual recovery. But is it possible to force an instance into the manual recovery
-
IPad mini 2 iOS8 alarm when USB connect to MacBook Air iTunes 12
I have a new MacBook Air 13" (OS X V 10.10 1.7 GHz i7) with iTunes 12.0.1 and Yosemite 10.10. I was able to sync and back up my iPhone 5 (iOS 8.1). When I plug my iPad Mini Retina (iOS 8.1) it dings and shakes the battery status icon repeatedly and