35,618 Topics

Member Avatar for
Member Avatar for obscured47

Hello gurus! I have a very annoying problem with the font on a server-client program I'm working on. Probably that it's a server-client thing doesn't matter. Anyway, I want to use custom font on the client side. I have the.ttf and try to use it with Font.createFont() and deriveFont(). I …

0
67
Member Avatar for DickLaurent

Hello, here goes. I am receiving the following three errors when compiling my new template matching plug-in in imagej C:\Program Files\ImageJ\plugins\Template_Test.java:61: '}' expected. } ^ C:\Program Files\ImageJ\plugins\Template_Test.java:63: Statement expected. public double match(String addr) ^ C:\Program Files\ImageJ\plugins\Template_Test.java:93: Class or interface declaration expected. } ^ 3 errors, 1 warning I'm pretty sure …

Member Avatar for DickLaurent
0
141
Member Avatar for brr

in the below text sum the amount to those FLAG & MA_NAME fields are same and put them in one array, and unique item append to that array i did some work but difficult to get unique items [TEX] FLAG MA_NAME SUM_AMT -------- ---------------------------------------- ---------- Credit CASH 7777 Credit Salaries …

Member Avatar for jwenting
0
91
Member Avatar for Littlen

Hi all Ive writing a simple j2me program to read from a file. Im running the midlet on a pda but im having trouble accessing the file. Im using J9 JVM on a Dell Axim, ive also installed the JSR-75 (which is need to access files), however im still having …

Member Avatar for Littlen
0
95
Member Avatar for Vach

Hey pls suggest a suitable topic for a final year project for the BSc. has to be feasible to do.. i have an average knowledge of Java. Thanks.

Member Avatar for jasimp
0
92
Member Avatar for Adila

i got until here.. [code=java] public class ButtonListener implements ActionListener { public void actionPerformed(ActionEvent buttonEvent) { int delay = 1000; //milliseconds ActionListener taskPerformer = new ActionListener(){ public void actionPerformed(ActionEvent evt) { JFrame myFrame1 = new JFrame(); MySadFace sad = new MySadFace(); myFrame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); myFrame1.getContentPane().add(sad); myFrame1.setSize(400, 200); myFrame1.setVisible(true); } }; Timer test …

Member Avatar for Adila
0
215
Member Avatar for chandanapapa
Member Avatar for jwenting
0
105
Member Avatar for krish_kooll

how to obtain query execution time? i need for mysql query in java... does anyone know

Member Avatar for krish_kooll
0
83
Member Avatar for Techboy52

//Below i am trying to display a map onto my grid layout using the ImageViewer and I keep //getting a error cannot find symbol class ImageViewer. I really need to use this //ImageViewer because i need to use the x and y coordinate. I don't know any image //viewer display …

Member Avatar for darkagn
0
82
Member Avatar for deepak1234u
Member Avatar for darkagn
0
74
Member Avatar for parthiban

Hi all , I'm trying to do find and highlight program which finds a given word by highlighting it in the textarea. I'm finding the word in a textarea which has both vertical and horizontal scrollbars .if the word is with in the visible area everything is fine but if …

Member Avatar for masijade
0
81
Member Avatar for hkarthik

Hi everybody, I am new to j2me. Can anybody tell me how to start working with j2me.

Member Avatar for Samudricka
0
106
Member Avatar for Belisarius

Hi, Not sure if this is the best place to post this but here is the situation: I have 3 instances of tomcat running on each of ports 3030, 3031 and 3032. These all work fine. I'm using IIS as web listener and have installed the ISAPI connector. This works …

0
51
Member Avatar for aim

How to do programming in Image processing in java? I have searched on it.I got info abt JAI.But Can i get detail documentation or another library for image matching code in java. I want to match two JPEG images in java.That images are of birds. Can any1 help me out? …

Member Avatar for aim
0
110
Member Avatar for anifeelings

actually i stuck in this prog, not gettting it exactly, i want user to input natural no. of 4 digit and i want its all possible permutations of the number.. plz help me..

Member Avatar for anifeelings
0
96
Member Avatar for chicago1985

I have all my webapps in Tomcat 4.1.27. All of them were compiled using JDK 1.4. Now I need to move the Tomcat 4.1.27 webapps to Tomcat 6.0.16. Do I need to recompile all my Java class files using JDK 1.6 before I put them on Tomcat 6.0.16?

Member Avatar for jwenting
0
65
Member Avatar for KimJack

Hello All, How can I get the information that corresponds with the containsKey to be put into the hashtable. I am checking to see if a hashtable contains a key. If it does how can I put that key along with its value into a second hashtable. Snippet of code: …

Member Avatar for Ezzaral
0
116
Member Avatar for Samudricka
Member Avatar for jwenting
0
44
Member Avatar for D boss

hi guys, i am working on applets, below is a bit of coding i am working on, it compiles with out any problem, but when i run it i get an error msg saying: `"Exception thread "main" java.lang.NoSuchMethodError: main"` if any one can advice it will be appreciated a lot... …

Member Avatar for D boss
0
87
Member Avatar for Merumi

Hey guys I hope you can help me with this problem, its like a minor problem. ----PROBLEM----- I don't know how to generate the secret code... meaning if the input was: { c.println (generateCipherAlphabet ("COMPUTER SCIENCE)); } Above only outputs "COMPUTERSINQVWXYZABDFGHJKL" which is the cipher alphabet only I want it …

Member Avatar for darkagn
0
123
Member Avatar for DARKSTAR
Member Avatar for jasimp
0
556
Member Avatar for Noliving

I basically have the entire program done except for one little problem my maxDepth output is wrong! But the rest of the assignment is after your program gets the correct answers, add static variables calls, depth, and maxDepth to your class and add code to your implementation of Z to …

Member Avatar for Noliving
0
86
Member Avatar for chchchchanning

I am trying to fun a jar file that is on my desktop. I have been using [code] java -jar ProgramName.jar -nuc[file] [/code] and I get the error "unable to access jarfile ProgramName.jar"

0
73
Member Avatar for Kusno

Dear all, I have `textbox (txtTransDate)` that I set text to '2008-04-17' because mySQL accepts that format date. I want to change the format to "MM/dd/yyyy" 04-17-2008 to retrieve month and year. But the error is like this : `java.text.ParseException: Unparseable date: "2008-04-17"` int tahun =0, bln=0 ; String sBln=""; …

Member Avatar for jinternalframe
0
88
Member Avatar for 9107you

im new to java help me wit this question (you might think what the hell am i doin) question is: Using a series of methods, output the popular song "My Bonnie Lies Over the Ocean". However, instead of using "Bonnie", allow the users to enter a name of their choice. …

Member Avatar for javaAddict
0
126
Member Avatar for torbecire

I am having a problem with tokenizing "wddw". I can tokenize if they is a sign like (,). How can I tokenize this without getting an error. I have tried charAt(0), but it only gives me the first character. I want each character to be stored separately. I know about …

Member Avatar for Samudricka
0
96
Member Avatar for Jcw69

I have subscribed to a hosting acount that has jsp hosting, they use jsp 2.0 with the tomcat 5.5 server. i am using the netbeans ide to compile my jsp page etc using the tomcat server. my project uses JSF. i am battling to get it working on the site. …

Member Avatar for jwenting
0
90
Member Avatar for genji

hey guys I've been trying to connect this jsp site with MySQL database for a school assignment and I just can't seem to get it to work. It's getting really really frustrating because I have copied my friend's code(which does work on his pc) and for some odd reason it …

Member Avatar for jwenting
0
90
Member Avatar for Noliving

In this assignment you will implement the following recursive function in a ZFunction class. You must implement a main that will gather the parameters for the recursive function and display the result. Use JOptionPlane for the input and output. Given the function Z(x,y) where x and y are (small positive) …

Member Avatar for Noliving
0
166
Member Avatar for madhura09

how do in install and run java on red hat linux 9 we have already installed jre self extracting file but javac command to compile java files doesnt work we have already setpath are there any other terminal commands what is the meaning of javaconfig

Member Avatar for eggi
0
102

The End.