Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: l_03
Forum: Java Feb 23rd, 2009
Replies: 1
Views: 410
Posted By l_03
public String preOrder(int nodeIndex) {
if(nodeIndex>nodeArray.length) {
return(null);
} else if(nodeArray[nodeIndex].isLeaf(nodeArray.length-1)) {
return(nodeArray[nodeIndex].toString());
}...
Forum: Java Feb 21st, 2009
Replies: 1
Views: 566
Posted By l_03
package Sorting;

import javax.swing.JOptionPane;

public class Sorting2 {
public static int s[] = new int[100];

public static void main(String[] args) {
Forum: Java Feb 17th, 2009
Replies: 1
Views: 245
Posted By l_03
import javax.swing.*;

public class Tokenize{
public static String s[] = new String[100];
public static void main (String args[]){
String ask = JOptionPane.showInputDialog("Enter:");...
Forum: Java Jan 23rd, 2009
Replies: 4
Views: 714
Posted By l_03
I already solved it, thank you very much. I really love this site. Thank you for the help.
Forum: Java Jan 22nd, 2009
Replies: 4
Views: 714
Posted By l_03
import javax.swing.*;
public class A {

public static void main (String args[]){
String ask = JOptionPane.showInputDialog("Enter");
if(ask.equals("hello")){
System.out.println("ok.");...
Forum: Java Jan 21st, 2009
Replies: 2
Views: 286
Posted By l_03
and my subjects.txt:
(1,Math17)
(2,IT110)


Please help me on how to fix this. It only writes the last one, which is IT110, and no Math17 appears. Was the first one that i write was saved? Or...
Forum: Java Jan 17th, 2009
Replies: 1
Views: 192
Posted By l_03
import java.io.BufferedReader;
import java.io.FileReader;
import TokenizerProcess.StringTokenizer;
import javax.swing.JOptionPane;

public class ReadFile {

public static int count = 0;...
Forum: Java Jan 15th, 2009
Replies: 3
Views: 501
Posted By l_03
hello guyz,,i just want to ask if you know a site that have a free ebook that would explain best the data structures..we have a problem to code..and it is about queues,,and sorting,,and i hope to...
Forum: Java Jan 9th, 2009
Replies: 3
Views: 302
Posted By l_03
hello...i am confused,,it is possible that a linkedstack will be full??i only implement a method that isEmpty(),,and it reads the method if the stack is empty..but if the stack is full, it do not...
Forum: Java Dec 13th, 2008
Replies: 3
Views: 460
Posted By l_03
help guyz...our teacher recommend us to download the "source code" of eclipse. jcreator, net beans, and bluej,,,

i am either confused,,,,what are the source codes of this four????are these the...
Forum: Java Dec 13th, 2008
Replies: 1
Views: 1,125
Posted By l_03
guyzz...do you know best tutorial in JOptionPane??especially with their dialog features,,,i really want to make a program,,that can be look a like as GUI Application,,,using only JOptionPane...i hope...
Forum: Java Nov 29th, 2008
Replies: 1
Views: 252
Posted By l_03
can someone help me how to make attempts in pin numbers...for like example,,if the user input three times of a wrong pin number,,then the program will exit..help me..this is not really my whole...
Forum: Java Nov 22nd, 2008
Replies: 2
Views: 1,749
Posted By l_03
i dont know how to solve this problem,,it seems that i dont know how to fixed this error
Exception in thread "main" java.lang.StackOverflowError

please helped me,,im stack on it,,

i just have...
Forum: Java Nov 21st, 2008
Replies: 13
Views: 1,614
Posted By l_03
oh,,i am sorry if i have read your reply too late...thank you very much for your help,,thank you very much,,,,ok,, i will do everything you told me,,it seems that i am too busy...thank you very much...
Forum: Java Nov 18th, 2008
Replies: 13
Views: 1,614
Posted By l_03
what if i will only print out the:

12345???

it seems that the 55555 was printed out also because it was stored in [0] array...so i think,,it should be;;

account[1][0] so that it will only...
Forum: Java Nov 18th, 2008
Replies: 13
Views: 1,614
Posted By l_03
what if i will only print out the:

12345???

it seems that the 55555 was printed out also because it was stored in [0] array...so i think,,it should be;;

account[1][0] so that it will only...
Forum: Java Nov 17th, 2008
Replies: 1
Views: 313
Posted By l_03
actually,,this is not my whole code..i just post the important one,,i am having problem with my code....i dont know how to figure out,,,

everytime i am trying to withdraw and deposit..,,the...
Forum: Java Nov 17th, 2008
Replies: 13
Views: 1,614
Posted By l_03
for (line = lnr.readLine(); line!=null; line = lnr.readLine()){

String account[] = line.split(" ");

//print whatever you want
//and do whatever you want with the elements:
//account[0],...
Forum: Java Nov 17th, 2008
Replies: 13
Views: 1,614
Posted By l_03
for (line = lnr.readLine(); line!=null; line = lnr.readLine()){

String account[] = line.split(" ");

//print whatever you want
//and do whatever you want with the elements:
//account[0],...
Forum: Java Nov 17th, 2008
Replies: 13
Views: 1,614
Posted By l_03
thank you,,,thank you very much "java addict"...this is such a great help...thank you....,,
Forum: Java Nov 17th, 2008
Replies: 13
Views: 1,614
Posted By l_03
oh,,thank you very much for the help guyzz,,,this will be a great help...

ah now i see,,,

so if i will use string.split...

how will i declare the variables?????will it be the same with what...
Forum: Java Nov 17th, 2008
Replies: 13
Views: 1,614
Posted By l_03
hello guyzz,,,i am almost finished with my code,,but our teacher require us to access a text file..this is it:

in my text file:

accountList.txt

12345 1234 200000 Jerry...
Forum: Java Nov 17th, 2008
Replies: 4
Views: 1,621
Posted By l_03
is it really works???ok i will try this out,,,thank you for the help...thank youuuuuuuu so much guyzzz...
Forum: Java Nov 16th, 2008
Replies: 4
Views: 1,621
Posted By l_03
oh i type it wronly,,thanks for the correction,,,,

yeah in my code it was like that

if (accountNum2==bank.accountNumber[0]){
//code above..with the thread i've started.....

...help,,,
Forum: Java Nov 16th, 2008
Replies: 4
Views: 1,621
Posted By l_03
guyzzz,,,help,,i dont know how to call a variable from other class,,could you help me,,huhuhuh,,,i really need your help...

i have a class,,
this is just a summary...

public class BankAccount{...
Forum: Java Nov 15th, 2008
Replies: 2
Views: 264
Posted By l_03
hello guyz,, i am really confused,,,we are about to make a program in java,,,we are making an ATM,,,however i am confused because i only have a transaction in ATm once and i dont remember much...
Forum: Java Nov 14th, 2008
Replies: 2
Views: 1,016
Posted By l_03
thanks,,i already got it,thanks for the help anyway,,
Forum: Java Nov 14th, 2008
Replies: 2
Views: 1,016
Posted By l_03
hello guyzz,,i really need your help,,we are about to make a mastermind game in java,,i already have the code,,,but it has no main method..and i dont know how to implement the main,,help guyzzz,,,we...
Forum: Java Oct 14th, 2008
Replies: 5
Views: 685
Posted By l_03
import java.io.*;

import javax.swing.*;
public class ShoppingCart{
private static final File FILE1 = new File("shopFolder/products.txt");


public static void productsList() throws...
Forum: Java Oct 14th, 2008
Replies: 5
Views: 685
Posted By l_03
Shopping Cart Java Fundamentals and OOP Instruction
Mr. I. M. Cheap owns Buy From Us, a small convenience store in a small town in the Philippines. Mr. Cheap always dreamt big, and plans to start a...
Forum: Java Oct 14th, 2008
Replies: 5
Views: 685
Posted By l_03
hello guyz,,i have confusion anyway,,

i have a textfiles (products.txt & cart.txt):

"products.txt"
inside this text file is
Alcohol $12.7 12
Shirt $45.00 34
...
Forum: Java Oct 5th, 2008
Replies: 7
Views: 646
Posted By l_03
sorry guyz,,but i do really appreciate your help,,i have been learning from it,,and it helped me a lot,,but i did not mark it solved because i may have another clarification,,the site that you are...
Forum: Java Oct 5th, 2008
Replies: 7
Views: 646
Posted By l_03
hello guyz,,do you have any sites to recommend for me on tutorials???

we are about to make a code on shopping cart,,but it's not that easy,,

our list of products and shopping cart are stored in...
Forum: Java Oct 4th, 2008
Replies: 3
Views: 479
Posted By l_03
hello guyz,,do you know best sites to recommend on :
tutorials about reading a file ("text file") and writing it in "java file??
in short
reading or writing files in bufferedreader..

thank you...
Forum: Java Oct 2nd, 2008
Replies: 3
Views: 383
Posted By l_03
actually this is how we make it:

we will be saving any texts in a "text file",,example i save in the text file like this:

i think that i shall never see
a poem lovely as a tree

then i save...
Forum: Java Oct 2nd, 2008
Replies: 3
Views: 383
Posted By l_03
hello guyz,,do you know best sites to recommend that has a tutorials on "swing" about:
a.) sample writing a file on "text file"
b.) the saved text file will be read by the main class in...
Forum: Java Oct 1st, 2008
Replies: 2
Views: 458
Posted By l_03
hello guyz,,do you know any best sites that could help me making codes in "shopping cart"??hope you can help me.thank you ahead...
Showing results 1 to 37 of 37

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC