Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K

15 Posted Topics

Member Avatar for sillyboy
Member Avatar for geekman89

Hello everyone, here is what I'm trying to do: I want to create a multidimensional array of this form: [CODE]Array([0] => a, [1] => Array([0] => Array([0] => d, [1] => e)), [1] => c, [2] => d))[/CODE] Where for every element in the array, another element or array is …

Member Avatar for Member #120589
0
123
Member Avatar for geekman89

Hello I want to make a GUI, and for it I need to use absolute positioning, since I want each element to have a precise position within my frame. I am making each element that makes up the frame by extending JPanels, so I'm building each block within the window …

Member Avatar for geekman89
0
315
Member Avatar for a.oprea

[QUOTE=anand01;1688942]Is this possible to remove element by its index value?[/QUOTE] That is easy, after you made your ArrayList object (yourArrayList in this case) just do: [CODE]yourArrayList.remove(index) // index of tipe int[/CODE]

Member Avatar for JamesCherrill
0
224
Member Avatar for shady05
Member Avatar for JamesCherrill
0
3K
Member Avatar for subone

[CODE] Scanner input = new Scanner(); yourInput = input.nextInt(); String temp = Integer.toString(yourInput); if(temp.length()<5) { //Do what you want } else { System.out.println("ERROR"); } [/CODE] And in case you want to have the same input as an int after the check, insert this after the if: [CODE] yourInput = Integer.parseInt(temp); …

Member Avatar for JamesCherrill
0
3K
Member Avatar for geekman89

I want to make a class that takes a String and checks if that String is found in a .txt File. If it is found, I want to store the words following that String in a String array. Here is what I have until now: [CODE]import java.io.File; import java.util.Scanner; public …

Member Avatar for geekman89
0
115
Member Avatar for geekman89

Hello I need help with a program I want to make a method that takes a String and uses the text in that String to use a method from an object. Something like this: public void doThat(String text) { myObject.text();// Where text is the actual text stored in the String …

Member Avatar for JamesCherrill
0
199
Member Avatar for geekman89

Hello everybody. I am in need of an answer. How can I use the text from a string and use it as a variable's name? For example: I have an array: int xyz[] = new int[5]; And say I want to check if it's name is the same as a …

Member Avatar for geekman89
0
521
Member Avatar for cwarn23

i find it quite enjoyable to be like a god, controling a universe the way i like, because that is what programming is (for me at least), i make my own world

Member Avatar for jackmaverick1
0
131
Member Avatar for geekman89

Please, please explain to me why this is giving me an error: [CODE]class bvo: C = 'Hello' def getC(self): return self.C bvo.getC()[/CODE]

Member Avatar for geekman89
0
153
Member Avatar for Salem

I've seen a lot of comments on the net comparing dennis's death to that of steve jobs, where steve received many more farewells but not doing even half of what dennis did, and i agree. RIP Dennis

Member Avatar for cwarn23
3
135
Member Avatar for faroukmuhammad
Member Avatar for Roxsy3392

of course it is right... one that takes the life of another deserves the same punishment

Member Avatar for jwenting
0
2K
Member Avatar for geekman89

Hello, I'm new here :). I hope I can bring some contribution to the site

Member Avatar for jingda
0
61

The End.