32,199 Topics

Member Avatar for
Member Avatar for fatooma92

i need someone to do this program for me and before saying that i have to do my homework alone i had midterms all week and in about in hour or so and i forgot about this assignment and i just dont have time so plz help here it is …

Member Avatar for jbennet
-1
165
Member Avatar for ilovejava

Hi when I use ecclipse to run codes it shows many errors, and they are not errors at all I compiled them with command prompt and it work. this is the image [URL="http://i.imgur.com/az6Pg.jpg"]http://i.imgur.com/az6Pg.jpg[/URL] My java and javac version is 7 u 2

Member Avatar for designuts
0
2K
Member Avatar for htp367

Hi everyone, In my simple GUI, I have a part where I use JFileChooser to let user browse for a file. The problem is that when browsing for that file, in order to open a sub folder, user has always to double click that the main folder to open the …

Member Avatar for htp367
0
713
Member Avatar for adil_bashir

hello everyone, I have implemented RSA algorithm in java but now i am asked to determine the time for encrypting variable length messages(plain text). As an example, i have to find the time in which input message of length 3 will get encrypted, similarly the time in which input message …

Member Avatar for DavidKroukamp
0
259
Member Avatar for MicroD

Hello, i'm trying to parse file but i dont know how i tried everything. This is my Goal: [21:53:51] Started [21:53:54] Test >> [COLOR="red"]this is that what i want ot parse[/COLOR] . [Test] [21:53:54] Something Can someone help me. - Regards!

Member Avatar for stultuske
0
114
Member Avatar for riahc3

Hey Is there a way I can print out the line Im currently on Example: [code=Java] public class something { public void somefunction() { System.out.println("I am line number + " /*the number 6 would appear here*/); System.out.println("I am line number + " /*the number 7 would appear here*/); System.out.println("I am …

Member Avatar for StephNicolaou
0
121
Member Avatar for karthikprs

I am trying to extract the number in the string "(c) 2010 Elsevier Ltd" from a PDF document . I found that the textsearch method of PDFtron package would help me find the string as stated in the example code: [CODE]import pdftron.Common.PDFNetException; import pdftron.PDF.*; import pdftron.SDF.SDFDoc; // This sample illustrates …

Member Avatar for karthikprs
0
3K
Member Avatar for darria

I did it but I got different outcome?? This program is an exercise in generic (singly) linked lists. A parameterized list class with just a few operations. Then,create lists from this class using two different classes for the type parameter creating a "list of lists". You will write a driver …

Member Avatar for peter_budo
-1
139
Member Avatar for htp367

Hi everyone, I want to create a simple GUI that prompts user to browse for a text file, read in that file and display them in the GUI as a list. Then it should allow user to select from that list. Once an element is selected, there should be a …

Member Avatar for NormR1
0
333
Member Avatar for Zennie2005

Modify the Inventory Program: Create a new method that calculates the value of the entire inventory. Create another method that sorts all of the array items alphabetically (ascending order) by the product name. o The application should declare and use an array to store 5 items. This array will represent …

Member Avatar for NormR1
0
151
Member Avatar for softDeveloper

Hi all, I'm checking for primality in BigInteger type. I'm using isProbablePrime with certainty 15. I would like to know how to test if a BigInteger is really a prime number. Thanks in advance.

Member Avatar for softDeveloper
0
280
Member Avatar for Kert

Hello, Can somebody help me with the problem I have? Anyways, I have a ArrayList that consists of Arraylist that consists of 3 elements. [[a1, 11, x], [a2, 12, ], [a3, 13, ], [a4, 14, o]]. The 0th and second element are both strings, the first one an integrer. At …

Member Avatar for DavidKroukamp
0
210
Member Avatar for Pravinrasal

hi, I have created one array in java script like this: obj.push({'key' :value1, 'key2' :value2}) and it is stored in database ,but problem is that when I am retrieving again back from database I am confusing to how to get array from database because it is stored in following format …

Member Avatar for stultuske
0
131
Member Avatar for yuyumerry

i got problem when i clicl the checkbox 0r radiobutton..when i compile there is no error..and also how can i put the background image at my gui??hope you guys can help me.. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.text.*; import java.text.DecimalFormat; import javax.swing.border.*; import java.awt.GridLayout; import java.awt.FlowLayout; import java.awt.BorderLayout; …

Member Avatar for yuyumerry
0
362
Member Avatar for Syrne

Hello, Quick and easy question: I'd like to learn a little by investigating the source code behind the predefined Java methods/classes/etc. For example, right now I'm learning to work with TreeSet and I'd like to know exactly what's going on behind the class-specific methods such as 'first', 'last', 'pollFirst', 'pollLast', …

Member Avatar for peter_budo
0
746
Member Avatar for jbennet

How can I get SSL working in Tomcat 6.x under Linux?, ive read the documentation here: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] but im not sure how to do it with a certificate I will make myself (its a dev box)

Member Avatar for jbennet
0
213
Member Avatar for Jevran

Iam working on a java based web app using the Eclipse ide and the tomcat server, My question is, is it possible to develop this app using the ide in my computer an a tomcat server located in another. All the guides i found involve me making the server in …

Member Avatar for peter_budo
0
167
Member Avatar for tboz203

i am a freshman computer science major, studying ahead of the class. we have been using automated testing classes { junit.framework.TestCase; }. i have downloaded junit4.9b2.jar from junit.org, which i understand to be the junit package (?) but i don't know how to use it. i have read that javac …

Member Avatar for peter_budo
0
1K
Member Avatar for enterpise

I have implement the chat sever.When I start to type the message to the server It says"Server has close the connection: java.io.EOFException" I don't what went wrong with my code. Can you plz have a look at it or give me some advice. [CODE]public class threadMiddle extends Thread { public …

Member Avatar for enterpise
0
194
Member Avatar for Matthew N.

I have a Java program, which launches a app, but before starting, it checks for the version.txt file, and if it doesn't exist, or there is a newer version available off my site, it downloads it. Well, not quite. I've got the part that checks for updates, and file existence, …

Member Avatar for DavidKroukamp
0
487
Member Avatar for cmps

I am trying to create an application that will: 1) ask the person to enter a number (ex: 321) 2) the application will display each number on a line ex:3 2 1 Rules: Don't use looping and don't use arrays Someone told me it could be done but I can't …

Member Avatar for cmps
0
123
Member Avatar for riahc3

Hey I wanted to make a thread for not only myself but for others to give a "thank you" to anyone who has helped them. In my case, without some suggestions here, I would have been stuck for days on a single thing and not be able to advance further. …

Member Avatar for stultuske
2
83
Member Avatar for riahc3

Hey I want to "reset" a array....What would be the correct way to do it? Code A: [code] for (int i=0;i<=somearray.length;i++) { somearray[i]=0; } [/code] or Code B: [code] somearray=null; [/code] Thank you

Member Avatar for riahc3
0
173
Member Avatar for maverick420

[QUOTE]The below code runs fine the only problem is when I run this code there is a value of "3" in the input textbox which should be null, I have no idea why its doing this any help will be appreciated. THANKS[/QUOTE] [CODE]import javax.swing.JOptionPane; //inherits from Monument class---> public class …

Member Avatar for maverick420
0
153
Member Avatar for krishnisilva

hi, i am new to java and i am using eclipse for java coding when i run a build.xml file it says build fail and says "Compile failed; see the compiler error output for details." and points to the code below. does anyone know the reason for this, [CODE] <javac …

Member Avatar for krishnisilva
0
997
Member Avatar for johny08z378

lets say we have a string String ss="file1"; now i want to create a variable (a file variable) and i want its name to be file1 which is the content of the string ss.

Member Avatar for NormR1
0
111
Member Avatar for muraj

Hi all. I could really use some help on adding a node to the end of a doubly linked list. First off here is my node class along with the class where the adding should take place. For simplicity I did not add the other parts and classes of the …

Member Avatar for NormR1
0
412
Member Avatar for dav555

I would like to implement an error reporting mechanism into my application: If an error happens the user should be able to directly send me this error message. I thought of doing this with JavaMail. My question is now: to send an email I have to authenticate on an SMTP-Server. …

Member Avatar for stultuske
0
141
Member Avatar for leo88

Hi, I wants to ask about how to call the javascript function/method in .aspx file from code behind(or server code)? for example: Javascript: [CODE] function initCard(userid) { //userid, balance, subsidy breakfast, subsidy lunch, subsidy dinner var iRet = winCtrl.initCard(userid, 0, 0, 0, 0); } [/CODE] code behind: [CODE] Dim sb …

Member Avatar for G_Waddell
0
410
Member Avatar for BeginningJava

i'm trying to create a program that asks the user to input a file (but the file name is standard name that will not change) and input a specific character. The program will use looping to find how many of that specific character is in the .txt file. This is …

Member Avatar for stultuske
0
364

The End.