Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
73% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
2 Commented Posts
~24.2K People Reached
Interests
Java,Javascript,PHP,C++,HTML&CSS
PC Specs
CPU: Intel Core i7-870, RAM:12GB, GPU: Sapphire Ati Radeon 7790

55 Posted Topics

Member Avatar for JamesCherrill

Make a simple email client in java(this is intermeddiate), and you will have to use the javaMail API for the mail part.

Member Avatar for Alok_5
20
3K
Member Avatar for godzab

Hello all, I am trying to take input from user using scanner. The problem is, when the loop starts, it skips taking input for the first iteration. Here is the code: import java.util.Scanner; public class TrigTriangles{ public static void main(String[] args){ int N; double a,b,c; double A,B,C; Scanner s = …

Member Avatar for noobz32
0
205
Member Avatar for godzab

Hello all, I was wondering on how I would extract a number out of a String after a specified character. For example, if String s = "22+5+35" , how can I extract and store the numbers 22,5, and 35 in a ArrayList?

Member Avatar for Taywin
0
319
Member Avatar for Ersin

Do you mean how can you learn Java? There are many ways to learn Java. You could go to a class, and be taught Java, you could read books to learn Java programming, or you could watch videos online. There is one online video resource I would reccomend, http://thenewboston.org/ . …

Member Avatar for JamesCherrill
0
146
Member Avatar for godzab

Hello all, I am trying to find all occurences of a letter in a word. If the letter is present in the word, then I save it to a String. For example here is the text: Hello World, my name is godzab. I search the text, and if there is …

Member Avatar for godzab
0
106
Member Avatar for godzab

Hello all, I have a Dell Studio XPS 8100. I was playing crysis 2 eariler today, and after an hour I quit the game. I left the computer standing for 15 mintues, and then was trying to open up google chrome. The problem was my computer was freezing, so I …

Member Avatar for godzab
0
461
Member Avatar for Stuugie

Use a thread do to this, it will do multiple at a time. ex. class OpenPDFs implements Runnable{ public void run(){ //do the task you did in main in here } public void main(String[] args){ OpenPDFs open = new OpenPDFs(); // this is just an example OpenPDFs open1 = new …

Member Avatar for Stuugie
0
593
Member Avatar for purity_1
Member Avatar for yusking
Member Avatar for godzab

Hello, I am trying to encrypt a String using Symmetric Key Cryptography. When I try to encrypt the string, on runtime it gives me this error: input text: Hello World Exception in thread "main" javax.crypto.IllegalBlockSizeException: data not block size aligned at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(DashoA13*..) at SimpleSymmetricExample.main(SimpleSymmetricExample.java:25) I know it …

Member Avatar for JamesCherrill
0
3K
Member Avatar for godzab

Hello, I have started picking up on encrytion, and I seem to have an error when I run the program. Here is the error: Exception in thread "main" java.security.NoSuchAlgorithmException: Cannot find any provider supporting ES/ECB/PKCS5Padding at javax.crypto.Cipher.getInstance(Cipher.java:453) at GenerateKey.encrypt(GenerateKey.java:41) at GenerateKey.<init>(GenerateKey.java:24) at GenerateKey.main(GenerateKey.java:71) Here is my GenerateKey class: import java.io.IOException; …

Member Avatar for godzab
0
297
Member Avatar for callen91
Member Avatar for stultuske
0
522
Member Avatar for godzab

I am trying make a linkedlist remove() method. It only works half way. When I try to remove a number, it removes the whole right side. For example here is the output: ` before remove: 8,7,3,5,2, after remove: 8,7,` How do I get it so only the three is removed? …

Member Avatar for godzab
0
236
Member Avatar for sliobra

So im guessing this method is supposed to create a new Date() object through the method right?

Member Avatar for JamesCherrill
0
205
Member Avatar for godzab

Hello, I have tried making a merge sort method, but I am getting an `Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 .` How do I fix this error, I have tried but I can not find the error: public class MergeSort{ public static int[] merge_sort(int[] b){ if(b.length <= 1){ return b; …

Member Avatar for JamesCherrill
0
214
Member Avatar for godzab

I am trying to write a selection sort, but I am getting a outofbounds error. How do I fix this? public class SelectionSort{ public static void selectSort(int[] arr){ int least = 0; for(int i = 1; i < arr.length - 1; i++){ for(int j = i + 1 ; i …

Member Avatar for jalpesh_007
0
90
Member Avatar for happygeek
Member Avatar for lloydsbackyard

Well here is one solution: public class IsItAnInt { public static boolean isInt(String number){ try{ int a = Integer.parseInt(number); return true; } catch(Exception evt){ return false; } } public static void main(String[] args){ System.out.println("is 12 an int? : " + isInt("12")); System.out.println("is 1234fd an int?: " + isInt("1234fd")); } } …

Member Avatar for lloydsbackyard
0
135
Member Avatar for godzab

I am just trying to submit two input fields, username and password. I am not able to do that because my code won't submit my data to the PHP database. The code is below, also please note I am trying to use ajax: getData.php <?php $db = mysql_connect('localhost', 'wont tell', …

Member Avatar for Clanstrom
0
227
Member Avatar for godzab

I am not sure how to explain this so I will give an example. If I were to have two arrayList like the one listed below: ArrayList<String> java = new ArrayList<String>(); java.add("1"); java.add("2"); java.add("2"); java.add("4"); ArrayList<String> lava = new ArrayList<String>(); lava.add("0"); lava.add("2"); lava.add("5"); lava.add("4"); how would i remove the duplicates, …

Member Avatar for JamesCherrill
0
294
Member Avatar for godzab

It just started today, a random Homegroup icon came to my desktop, and after a while my desktop background changed. I don't even have a homegroup setup, is this a virus?

Member Avatar for caperjack
0
90
Member Avatar for rotten69

Here use this website for jQuery tourtials: [Click Here](http://w3schools.com/jquery/default.asp). jQuery is a very easy library to learn, it will probably take you 2-3 days.

Member Avatar for iamthwee
0
306
Member Avatar for godzab

Here is my form.html <html> <head> <script type="text/javascript"> function ajax() { var aj; if(window.XMLHttpRequest) { aj = new XMLHttpRequest(); } else { aj = new ActiveXObject("Microsoft.XMLHTTP"); } aj.onreadystate = function() { if(aj.ready == 4) { document.getElementById("text").innerHTML = aj.responseText; } }; var param = document.forms["fo"]["text"].value; aj.open("GET", "try.php" , true); aj.send(); } …

Member Avatar for esma.ramirez
0
127
Member Avatar for DaveyMoyes

As jkon said, just use a cookie or a session. So lets say this is page1.php: <?php $var1 = 55; setcookie('var1', $var1, time() * 60*60*24*7); //this cookie will expire in one week ?> then in page2.php, if you want to access $var1 then: <?php $varFromAnotherPage = $_COOKIE['var1']; //now we will …

Member Avatar for broj1
0
201
Member Avatar for godzab

As the title said, how would I get text from a input tag and show it dynamicly. So whenever i press a, it shows up in a p tag. How would I do this in jQuery? EDIT: Here is what I have but its not working: <html> <head> <title>update text …

Member Avatar for JorgeM
0
169
Member Avatar for mevoohafez

As Squidge said you have a incomplete form, so end your form with a </form> tag. Also show us the test.php

Member Avatar for Squidge
0
324
Member Avatar for gamebook

Are you asking how to make a .jar more secure? So people won't decompile your code?

Member Avatar for stultuske
0
126
Member Avatar for yup790

Just play around with the code. Make you own projects, like make your own calculator, or even make your own e-mail client(using javamail api). Practice makes perfect.

Member Avatar for godzab
0
100
Member Avatar for godzab

I have been programming in java for 1 year, but I would like to contribute to an open source program. The problem is its to compicated for me to join a open source program. Is there any recommendations you guys have for any open source projects I can join?

Member Avatar for rotten69
0
95
Member Avatar for joejo

If you wanna upload the code,use [pastebin.com](http://pastebin.com/) and post the link here. You also have to hurry up becuase you don't have much time left.

Member Avatar for Stuugie
0
222

The End.