Click here to Skip to main content
15,924,196 members
Home / Discussions / Java
   

Java

 
Generalscroll lock key status in javascript? [modified] Pin
murali_utr2-Aug-06 23:51
murali_utr2-Aug-06 23:51 
JokeRe: scroll lock key status in javascript? Pin
Mark II22-Apr-07 23:20
Mark II22-Apr-07 23:20 
Generalrunning threads in java Pin
Pinnaple10-May-06 15:39
Pinnaple10-May-06 15:39 
GeneralRe: running threads in java Pin
jan larsen1-Sep-06 11:53
jan larsen1-Sep-06 11:53 
QuestionHow to create a jar file Pin
Chatura Dilan22-Apr-06 23:37
Chatura Dilan22-Apr-06 23:37 
AnswerRe: How to create a jar file Pin
Al Ortega1-May-06 16:02
Al Ortega1-May-06 16:02 
AnswerRe: How to create a jar file Pin
David Crow25-Oct-06 6:08
David Crow25-Oct-06 6:08 
Generalread file and change the values of each column Pin
rebekahh10-Dec-05 0:21
rebekahh10-Dec-05 0:21 
Hi,

I'm new to java and i'm really struggling with this problem to the point of chucking my computer off the roof and burning it
 
I have to write a program to normalise some data, by getting the largest value in each column and dividing every other value by this so that the data is in the range [0,1].
 
example of data:
6, 148, 72, 35, 0, 336, 0627, 50, 2
1, 85, 66, 29, 0, 266, 0351, 31, 1
8, 183, 64, 0, 0, 233, 0672, 32, 2
1, 89, 66, 23, 94, 281, 0167, 21, 1
0, 137, 40, 35, 168, 431, 2288, 33, 2
5, 116, 74, 0, 0, 256, 0201, 30, 1
 
so say for the first column i would divide everything by 8.
I know i should put each column into an array then perform the calculations and then write it back to the file. i just have no idea how to code this. can anybody help please?
GeneralRe: read file and change the values of each column Pin
Brian Van Beek20-Dec-05 8:18
Brian Van Beek20-Dec-05 8:18 
QuestionAnyone one know of a table to use in place of JTable? Pin
BrockVnm19-Sep-05 7:30
BrockVnm19-Sep-05 7:30 
AnswerRe: Anyone one know of a table to use in place of JTable? Pin
Fatbuddha 111-Apr-07 22:50
Fatbuddha 111-Apr-07 22:50 
GeneralHurry, hurry Pin
Don Miguel28-Jul-05 21:54
Don Miguel28-Jul-05 21:54 
GeneralRe: Hurry, hurry Pin
Brian Van Beek3-Aug-05 11:57
Brian Van Beek3-Aug-05 11:57 
GeneralRe: Hurry, hurry Pin
jan larsen29-Nov-05 9:55
jan larsen29-Nov-05 9:55 
QuestionClient/Server and maybe Multicast??? Pin
code-frog16-Jul-05 10:08
professionalcode-frog16-Jul-05 10:08 
AnswerRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 10:27
El Corazon16-Jul-05 10:27 
GeneralRe: Client/Server and maybe Multicast??? Pin
code-frog16-Jul-05 10:39
professionalcode-frog16-Jul-05 10:39 
GeneralRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 10:56
El Corazon16-Jul-05 10:56 
GeneralRe: Client/Server and maybe Multicast??? Pin
code-frog16-Jul-05 11:00
professionalcode-frog16-Jul-05 11:00 
GeneralRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 11:49
El Corazon16-Jul-05 11:49 
GeneralRe: Client/Server and maybe Multicast??? Pin
code-frog17-Jul-05 11:47
professionalcode-frog17-Jul-05 11:47 
GeneralObsolete Pin
Alexander Kent15-Jul-05 10:55
Alexander Kent15-Jul-05 10:55 
GeneralRe: Obsolete Pin
code-frog16-Jul-05 10:21
professionalcode-frog16-Jul-05 10:21 
GeneralSaving JTree Pin
BrockVnm7-Jul-05 5:40
BrockVnm7-Jul-05 5:40 
GeneralRe: Saving JTree Pin
BrockVnm12-Jul-05 3:46
BrockVnm12-Jul-05 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.