No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have created a userConfig file to add MSGOTHIC font to FOP. <fop version="1.0"> <renderers> <renderer mime="application/pdf"> <fonts> <!-- register a particular font --> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="normal"/> </font> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="bold"/> </font> </fonts> </renderer> </renderers> </fop> Now I have set … |
|
i am creating my jar file jar cvf javaappl.jar javaappl jar cfm javaappl.jar manifest.txt javaappl manifest is added correctly. but when i try to run java -jar javaappl Invalid or corrupt jar is displayed. Earlier it has run, but the same thing is not running now. What is the probable … |
|
I want to run multiple test cases, for a java program. How can i write script that causes the same program to run for different test cases. Test cases need to be included in same file or different files? how to write the script? |
|
When I am taking input from file using Ubuntu as OS, DataInputStream is giving different values from the number in file. What to do about it?? I dont know much about file int, I also tried out using BufferedStream, Still getting some strange values. Please reply soon. |
|
i have made my project using netbeans. I want to create tar file , how is it done. I want to an executable file to be made, and source code zipped to be used to modufy program later without using netbeans. I am really confused, can a poject made in … |
|
I have downloaded the code for drawing a bar chart, that has imported these packages import org.jfree.chart.*; import org.jfree.chart.plot.*; import org.jfree.data.*; import org.jfree.data.general.*; on compiling on java 1.6 these packages are giving error. What is the problem?? |
|
I want to draw a Bar Chart, Plz help me to find the code for it. |
|
I have made my project in JApplet, Each JApplet is working fine independently. But I dont know how to link then I have a menu on the home page. private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: Month mth=new Month(); System.out.print("object created"); try { System.out.println("Trying to … |
|
echo 'expr 2 +3' prints expr 2 + 3 (instead of printing 5) I had read this in book as well as online that within single quotes the expression is evaluated, but on running it is being printed as it is. Is there any dependence on shell . Well, I … |
|
I want to assign a list of months in an array sort of arr[]={'Jan', 'Feb',:Mar'.....} What is the syntax for it in unix. |