Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~10.2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for intes77

im having problems with my input. i want the output to look like this [CODE] Enter first string: first <- user input Enter second string: second <- user input The contents are first and second[/CODE] but the output doesnt look like that and the input is messed up. what seems …

Member Avatar for mr_bit
0
169
Member Avatar for intes77

Hello im currently having problems with the storing of String to an array im currently using a GUI output so it reads inputs from the textfield here's my code: [CODE]import java.util.*; import javax.swing.*; public class Contents { int listLength; String []word; String []meaning; String []sentence; String []classification; public Contents(int l) …

Member Avatar for intes77
0
803
Member Avatar for intes77

hello im having problems on how to make a column sorter for my JTable. i want to make a sorter for each column. but i dont know what to do. any advices will be glady accepted :) i've seen other tables that their column headers can be clicked to sort …

Member Avatar for mKorbel
0
1K
Member Avatar for intes77

Hello i need help with the popping of stacks. i want to pop them all once i go into the Clear() method, but im having problems with the codings. here's my code: [CODE]import java.util.Stack; class InfixPost { static Stack inputStack; static String output = ""; public String infixToPostfix(String input) { …

Member Avatar for masijade
-1
140
Member Avatar for intes77

sub class [CODE] public class Exer2 { public void setLength(int x) { this.listLength=x; } public int getLength() { return this.listLength; } int listLength=getLength(); int list[]=new int[listLength]; public void display() { System.out.println("The array length is: "+list.length+" "); } } [/CODE] main class [CODE] import java.util.*; public class Output { static Exer2 …

Member Avatar for intes77
0
148
Member Avatar for intes77

below is my code about a method regarding arrays. The purpose of my program is to let the user input the length of the array. and then insert numbers into the array, sort the numbers, and let the user search the contents of the array. my problem is i dont …

Member Avatar for intes77
0
105
Member Avatar for intes77

[CODE]import javax.swing.*; class Month { public static void main(String[]args) { String value=JOptionPane.showInputDialog(null,"Enter Month Day and Year"); if(value.length()==10) { char Month=value.charAt(0)+value.charAt(1); char Day=value.charAt(3)+value.charAt(4); char Year=value.charAt(6)+value.charAt(7)+value.charAt(8)+value.charAt(9); JOptionPane.showMessageDialog(null," "+Month+"/"+Day+"/"+Year+""); } else { JOptionPane.showMessageDialog(null,"INVALID INPUT!!"); } } }[/CODE] Hello i need help about combing the charAt()'s for example i would input 05/05/2010 i want …

Member Avatar for intes77
0
430
Member Avatar for intes77

here's my code, i wanted to add another button that would have its own ActionListener. NOTE: its in object oriented style. i wanted to add these codes in my main class for my additional buttons, but my problem is i dont know how to make their ActionListeners. [CODE]myButton2=new Button("GET DIAMETER"); …

Member Avatar for JamesCherrill
0
217
Member Avatar for intes77

hello i would like to know how can i use these isString,isInt,isDouble functions. i really dont have a clue if these functions do exist. but i want to create a program that lets me input anything. and it would identify if it is a string an int or a double. …

Member Avatar for JamesCherrill
0
168
Member Avatar for intes77

Hello im having problems with my code. i wanted to make a program that would let me enter anything and then place each one of them inside the array. [CODE]import java.util.*; class charAt { public static void main(String[]args) { Scanner input=new Scanner(System.in); String[]sample=new String[52]; String enter; int x; System.out.println("Enter something"); …

Member Avatar for intes77
0
6K
Member Avatar for intes77

i am having problems in reading the contents of my .dat file. the contents of my .dat file are the following: 10.20 60.20 70.20 25.25 1.1 2.2 3.3 4.4 my expected output should look like this: --------- --------- --------- --------- 10.20 60.20 70.20 25.25 1.10 2.20 3.30 4.40 but when …

Member Avatar for intes77
0
147
Member Avatar for intes77

Im abit confused about the problem im solving right now. it says that i will create a program that would let me input any word, and count how many letters are there. and afterwards i will also make another statement letting me input any letter,then the program would determine if …

Member Avatar for BestJewSinceJC
0
158