I am supposted to use this:
and use the charCount() method to determine the number of char values required
http://java.sun.com/javase/6/docs/api/java/lang/Character.html#charCount(int)
...
Does anyone know whether or not the Java console in Control Panel can be set using Global Policy?
Hi,
I am using JDK1.5 for development and Websphere 6.1.0.21 as the app server. But I am getting the following error:
[Servlet Error]-[Filter [struts2]: could not be initialized]: java.lan...
Really simple question. I have a java program that uses JNI to load a custom DLL. If the java program is in use, I can still update the jar (ie, copy a newer version of the file to replace t...
My attempt here is to have an application that can ask for info from the user, to create a simple display of that info. And it has to have an equation to create a Tax Liability info output. I ...
Does anyone have experience with J2SSH? I have reviewed the documentation and have a few holes to fill. I am looking to connect to a Linux box and run a PS command via an SSH shell. I would ...
For security purpose, i want to store my certificate and public key in database (oracle and DB2) with password encrypted. Any Java sample program to do this?
I want to read certificate from smartcard with java.I know that CAPICOM can do that with C++ but I want to make a crossplatform application.It should read all certificates and allow user to se...
Hi experts
I'd like it so that a Java app/window can cause a browser to load a certain URL.
Is it possible to make the URLs be loaded in the same browser everytime?
The app could initia...
Hi i want one sample internet banking projects for practise, so please tell me,from where can i download it.
not only internet banking project, u also give me some this kind of projects..plea...
How can i flip the TEXT using Coldfusion or java Technique.
just like fliptext.org
From my java application (struts & hibernate) suddenly this error is coming. I am not sure how to resolve this? I asked the hosting person, he said that it will be problem with your side etc.,
I have to linkedlists where I want to make a copy of one to another, so this is what I did:
resultsList = new LinkedList(copiedList);
but it seems that the copied list (resultList) does ...
Hi,
My Web application (JSF, Tomcat) generates a report in Excel format, once completed I want to redirect the browser to the file so the user will be able to view the XLS output in the br...
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at GUI.createAndShowGUI(GUI.java:72)
at main$1.run(main.java:11)
at java.awt.event.InvocationEvent.dispatch...
Hello, I have a program class here (Time) which takes preset times from a test class, I've been tampering with it for a few days but i cannot get it to do what I want, so I'd like some help o...
Hi Experts,
I am really confused on how to run a for loop inside <%= %>. I have posted my complete code below. What i am trying to do is, attach an id to every cell. There are...
The formula for the area of a circle is PI times the radius squared.
Write a Circle class in Java. Include a method called area where the only parameter is the radius of a circle and the r...
Hello and thank you for viewing my question. I pass I an AbstractTableModel into a JTable which is then passed into a JScrollPane and displayed on-screen. Instead of the column headings expa...
* the input is shorter than 8 characters (there should be at least a header, and a trailer (the payload can be empty).
* the header and trailer are identical to each other
* the header (or t...
This is example of autocomplete textbox with jquery
when i submit the form i want to store the id of selected text field
here in my text.jsp i get the ids of related USER_LOGIN i print th...
I am trying to get my second method in class BitEncoder to work:
ModulationFrame (String input, String modulation)
What should my method do?
This method calls my ModulationEncoding(Stri...
i am trying to write a method that will write an array list of objects to a bin file
i declare an array list...
ArrayList<Leader> leaders = new ArrayList<Leader>();
i populate the array lis...
I have some problems that I dont know how to get right. I am supposted to do this:
Startvalue: 1000
Rate (%)? 10
How many years? 10
Year 1: 1100 kr you get: 100 kr
Year 2: 1210 kr - y...
This is a really dumb and hopefully easy question, but which version of Java should I download. (I've not worked with Java in nearly 7 years).
I am currently looking at the top 10 downloads...