salam sir;<br/> how can made login user form application in java?please help me.<br/> thanks sir
dear friends ... i need ur help ... i have generated key pair (private key and public key) for RSA encryption decryption. both keys consist of 2 values (Private key d, n) and (public key e, n) in this case n is same for both keys but d and e are different. i am using the following line of code // G...
942 byte By
slannesh at 2007-11-20 10:46:11
I found these dynamic drop downs that use a bit of java script and used them in a PHP website. It works fine but i need to know how textboxes can retain information when the page reloads.Heres my coding:<SCRIPT language=JavaScript>function reload(form){var val=form.cat.options[form.cat.options...
i have a string let suppose "dev-archive".i got its bytes and apply some mathematical function now the result is in bytes. i want to change bytes into string. i am using these following line of code.String msg= "dev-archive";BigInteger bytemsg= new BigInteger(msg.getBytes());let suppose after mathem...
305 byte By
Drezard at 2007-11-20 10:46:34
Okay, I have installed the JDK. Im trying to use the 'javac' command in the command prompt. It gives me an unknown command javac message. I know its installed cause its in the JDK bin file. How do I set it so i can use it thro the command prompt by just typing 'javac'?Daniel...
1867 byte By
garny at 2007-11-20 10:46:44
not sure whats wrong with my selectionSort? can someone help? thanks.import java.util.Scanner;public class selectionSort8 { /** * @param args */ public static void main(String[] args) { public static final int MAXSIZE = 10; public static int[] nums = new int[MAXSIZE]; public static void...
421 byte By
kurups at 2007-11-20 10:46:56
Hi, I'm new to Java (Been teaching myself for ~a week now) and today I wanted to try to make a Rock Paper Scissors game...however I failed miserably. I'm pretty new to using nested if statements, I think this is where I'm going wrong. I'm doing it in text boxes as well (so JOptio...
9740 byte By
Mykullski at 2007-11-20 10:47:04
Im sorry but i am sooooo lost into making this programming project. My project is...One of the most common operations involving a matrix is a matrix-vector multiplication operation. Many engineering software programs will typically perform millions of matrix-vector multiplications. Let A be an n by...
1932 byte By
Mykullski at 2007-11-20 10:48:25
hello i am stuck on one of my computer programming projects. What i am supposed to do is multiply a matrix(2D float array) by a Vector (stored in a 1D array). I was wondering if this is the correct way to multiply the matrices...public class CRSTesterUpdated{ private int aSize = 0; private int xSize...
136 byte By
prasun at 2007-11-20 10:48:38
We known that the abstract class can not be instantiated. But why Java api defines constructor in many abstract class like Number class?
8595 byte By
Mykullski at 2007-11-20 10:49:33
i finally understood how to multiply a regular matrix by a vector however im really confused on how to write a code multiplying a crs matrix to a vector.the crsUpdated class is as follow//Compressed Row Storage format for a sparse square matrixpublic class CRSUpdated{ //the values of the nonzero ele...
hi, i'm new bie in java,<br/>anyone can help me about this problem ?<br/>i'm already search every code in google but never found the solutions...<br/>:(
hi, i'm new bie in java,<br/>i want to create a table with various font color in one cell,<br/>anyone can help me about this problem ? (please see the image in attachment)<br/>i'm already search every code in google but never found the solutions...<br/>:(
hi, i'm new bie in java,i want to create a table with various font color in one cell,anyone can help me about this problem ? (please see the image in attachment or in this link : http://mikrobot.com/sample1.gif)i'm already search every code in google but never found the solutions...:(<i...
hi, i'm new bie in java,i want to create a table with various font color in one cell,anyone can help me about this problem ? (please see the image in attachment or in this link : http://mikrobot.com/sample1.gif)i'm already search every code in google but never found the solutions...:(...
Hey, i was trying to create a simple dialog, but im getting an error when i try to define Build().I never had this before and i have no idea what im doing wrong.This is what i have so far:public class Test implements ActionListener { /* Voor het aanmaken van het dialog en de elementen */ p...
180 byte By
Abalfazl at 2007-11-20 10:51:36
Hello!<br/>Say we have class a ,these class has two methods we call them I and J,how can we create thread for both of them?Which one will start first? (we use thread for them)
Does anyone know how to calculated Java code running times? if so let me know
okay, so I am a cs student and i downloaded java from a compressed file, when the computer winzips it, if i drag the elcipse icon outside of the decompressed file, the computer gives me an error message saying: ''the eclipse executable launcher was unable to locate its companion shared lib...
hello;I want to fill a form on php page with java and i want to select some values on <select onchange=getToDiv2(this.value)> and then take some values from my computer on word file.and then i want to fill the form according to these values.and ten post it.i can read the values from page but c...
closed
Hi guys,Have an "AutoSearchComboBox" as follows for searching the combolist fast.Have some problems with the selection in the AutoSearchComboBox.public class AutoSearchComboBox extends JComboBox { /** * */ private static final long serialVersionUID = 1L; public AutoSearchComboBox(){ setEditab...
379 byte By
vi at 2007-11-20 10:53:04
Hi there, help me please with the such problem ..I use Apache Ant for building our project. I need to display performance time of the each target of mybuildfile.xml.How can I implement it? I tried to use tstamp but I could not calculate difference between start time of one target and start time of a...
hi there! i'm developing a school project. it's about creating an interface for applets. it is developed under VB 6.0. the software should go through an evaluation from Java programmers. i hope that you could help me. i wont' take much of your time. i really need you're help guys...
169 byte By
pel at 2007-11-20 10:54:26
Hello ^^,<br/>I would like to know wether it is possible to change the color of a selected part text with html. The selected part text is located in a jtables cell.
Here is the assignment:Your team has been hired as a Java programmer by Real Estates Solutions Inc. Your task is to write a Java applet for their web site that would enable customers to figure out their monthly mortgage payments.The applet input will be the loan amount, annual percentage rate or APR...
2132 byte By
IPWNU at 2007-11-20 10:55:17
So I'm writing a basic program that asks for a "test percentage" inputted by the user. Then it spits out a "grade". I set it up so it the percentage cannot be lower than 0 or higher than 100. If the user puts in one of these, then it gives them a warning message. I was wondering if/and how I ca...
1404 byte By
pel at 2007-11-20 10:55:26
Hallo,nehmen wir an ich habe einen JColorChooser mit 16,7 Mio Farben zur Auswahl. Nur 1 Farbe davon mchte ich fr den Text einer JTextPane. Es gibt jetzt 16,7 Mio Mglichkeiten welche Farbe der Benutzer auswhlt. Soll ich jetzt 16,7 Mio styles definieren im Stil von:lets assume i have a jcolorchooser w...
1801 byte By
Rukuro at 2007-11-20 10:56:11
First of all, gday, names Matt, first post here, just found this funky place.The Problem:After filling out the arrayList with the current information from the text document, I ask for the user input and try to search and match it.. but I am unsure on how to go about it completely because A) It'...
5793 byte By
rhinomist at 2007-11-20 10:57:36
okay, i know people said not to stick assignments on here, but i have an assignment due on thursday and i wanted to get a head start, can you just tell me if i am going in the right direction? So I want to enumerate all size-2 connected components, generate all pairs of vertices using two nested fo...
I want to turn off the auto-repeat option so that when someone holds down a keyboard key it only processes the event one time. In other words, when someone presses and holds down the 'C' key on the keyboard I do not want it to enter multiple 'C's, just one.I have not run across h...
I have an application that I want to simulate using the GUI based on data the user "pastes" from the clipboard. I already finished the method that parses the incoming string and processes it which works beautifully. However, the requirements stipulate that as the String is parsed the input is used t...
596 byte By
aobledo at 2007-11-20 10:58:12
So, I am supposed to read in a file and the fields are separated by a delimiter. For each field compute the maximum size of each field. Then rewrite the file as a fixed length field file. I just want to know what the best way to go about it...I started in java and it reads in a file and prints it to...
Okay everyone here is the main project. I have to make a planner that organizes everything in my life and there is one part I am having a problem with. Here is what he wants this part to do. This is accroding the the sheet I haveDevelop a program to maintain a list of homework assignments. When an a...
2048 byte By
cjard at 2007-11-20 10:59:22
Hi allCurrently, we have a tomcat machine that runs a web app. Actually, it runs 17 copies of tomcat because the person who set it up originally wasnt bright enough to condense it into one. Now, I'm getting a little tired of stopping and starting 17 instances, so I will explain how things are c...
5538 byte By
ff4930 at 2007-11-20 10:59:34
Im suppose to implement these methods but Im stuck!import java.util.*;// doubly linked list, uses a cursor and no sentinels.public class Bxxxx { private DNode cursor; private int size; public Bxxxx() { size = 0; cursor = null; } public int size() {return size;} public boolean is...
348 byte By
Humpushk at 2007-11-20 10:59:40
Hello, I have been trying to learn about Java at home and have managed to make simple programs, what I've been doing is trying to make a quiz, like a add and substract quiz, program asks questions the user input the answer, the same continues a few times, (10 times).. Now I want to know how to...
607 byte By
dtstuff9 at 2007-11-20 10:59:52
im trying to use the 'final' keyword so that a set function is only called once and never again.public class xxx {private String name;public xxx(String name) {this.name = setName(name);}public String setName(String name) {...whatever...}i want so that setName() is only called once by the c...
150 byte By
Rukuro at 2007-11-20 11:00:26
Gday guys.<br/>Had a problem but I fixed it after looking into it some more after a break, im an idiot... can't find where to delete thread.
I'm working on developing a mysql/java login system but I keep getting several errors.Error: java.lang.ClassCastException: com.mysql.jdbc.ResultSetImpljava.lang.ClassCastException: com.mysql.jdbc.ResultSetImpl at ConnectionDB.connectDBSelect(ConnectionDB.java:90) at login.Process(...
177 byte By
atuvy at 2007-11-20 11:02:10
I am using Visual Studio 2005 and need to create a dll in Java which will possibly be used with code writen in other .net languages. I am looking for a tutorial on that subject.
12761 byte By
kangevi at 2007-11-20 11:02:36
Hi,I'm currently trying to get my unit test to work. I've been working on this for a while and I have code that compiles, but only two of the tests work. The iterator test and the isEmpty and clear test work. I tried to run a debugger as well but I still can't figure it out. Any sugge...
342 byte By
fvogel at 2007-11-20 11:02:37
Hallo,I'm working now with RCP and I want to implement the function Drag & Drop for a column or TableColumn in a TableView. I tryed a lot of time but I it doesn't work. I think the column could not be implemented for Drag & Drop. Is that correct?Have someone an idea or a code example?Thank...
1141 byte By
roger5089 at 2007-11-20 11:03:31
all i had one strange problem with jsp to oracle the platform is xp+tomcat and oracle 9i.when i had one code use a.jsp fomr to post data into b.jsp . the datatype i have beening set by <%@ page contentType="text/html; charset=utf-8" language="java"import="java.sql.*"import ="java.util.Vector"impo...
After a good bit of reading, I found that printing HTML directly to the printer doesn't work for many printers. I don't want to print the code. I want the actual HTML page. I have some code here that reads the HTML file into a JEditorPane and then is rendered into a graphic for printing.My...
528 byte By
sprintf at 2007-11-20 11:04:37
please help,i am using eclipse 3.3, GWT 1.4, GWT Studio and JAVA 1.6.0...in a GWT project the compiler is not resolving java.util.Calendar but resolves the same class in a normal JAVA project, however in the former case in the GWT project the 'package explorer' has successfuly resolved thi...
dear friends,<br/> i need to use bouncycastle cryptographic library but i dont know how to install it. i have downloaded latest version from www.bouncycastle.org and the file name is crypto-137.zip . i dont know how to install it. kindly help me.
Could someone show me how I can input a file into an array if i don't know the size of the file.<br/>thanks<br/>karl
1490 byte By
zhshqzyc at 2007-11-20 11:05:20
Suppose two arraysa = {"fee","fie","foe"};b = {"0.0","0.0","fie","foe","fve"};Obviously the common elements of two arrays are "fie" and "foe".I want get the union of two sets by appending the second array and removing the same elements with the first array.The expected result isc = {"fee","fie","foe...
6039 byte By
Mykullski at 2007-11-20 11:06:09
I was wondering if anyone out there could give me a few pointers in reading .dat files in my java code. my .dat file consists on cities, its state, latitude/longitude, ect and i need it to be stored in a 1 1d array and 1 2 d array.my .dat file is* File "miles.dat" from the Stanford GraphBase (C) 199...