Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~19.5K People Reached
About Me

I'm a university physics student with a passion for creating video games, currently in Java.

Interests
Guitar, piano, drawing, writing, basketball, physics
PC Specs
HP pavilion dv7 for university Home built desktop at home Currently dual-booting Windows 7 and Ubuntu…
Favorite Tags
Member Avatar for jhamill

I'm trying to write a program that checks if a input string value contains any capital letters. Is there a way to do this in java?

Member Avatar for stultuske
0
3K
Member Avatar for Dani

Hey everyone, We haven't done a good contest here on DaniWeb for quite some time, so I'd like to start one up again :) Throughout the months of June and July, I'd like to encourage members to submit fully working code snippets to our library. Throughout the month of August, …

Member Avatar for L7Sqr
3
1K
Member Avatar for Aviras

Hello everyone, this is something I wrote a couple months back. It is used as a universal class/object loader from an XML file. For the handling of XML I use the JDOM library. The story basically goes like this: I have a load of classes in a game I'm working …

Member Avatar for Troy III
1
390
Member Avatar for km2011

Hello everyone, i want to do the summation below: x1= a0*x0 x2= x1+ a1*x1 x3= x1 + x2 + a2*x2 and so on............ supose we know x0 = 2; a0=1 ; a1 = 3; a2 = 2; how do i use for loop to do this? should i keep it …

Member Avatar for km2011
0
177
Member Avatar for LondonJava

I have configuration properties implemented as a java.util.Properties Object with the mappings saved in a config.properties file. I have managed to update the properties in a user input panel, so the user can change any settings while the application is live. However I want any changes a user makes to …

Member Avatar for LondonJava
0
219
Member Avatar for raul8

Hi, I have a string which contains XML. I want to remove its first line and save it back to String. How can I do that? Thanks

Member Avatar for Aviras
0
68
Member Avatar for BlackStar0703

I realise some members have discussed this topic before but it seems quite complex. I'm starting Java and have a longterm goal of creating an internet messanger for school computers. I was just wondering what the pseudocode of this project/task would be. Thanks

Member Avatar for BlackStar0703
0
313
Member Avatar for Narayanan87

Hi I have a String as "ABC("zscxfdb") OR DEF("ghg5dfg5") OR GHI("sdghrhrhr"). I should take the String present inside DEF() alone.. Can anyone help me in this.. Thanks in advance...

Member Avatar for Aviras
0
84
Member Avatar for sudarshansirsat

Note: error is comming @ line: 59 This is the source code where i m getting nullpointer exception , I am unable to know where exactly this is not getting value. this code is working at another machine but not on my machine though i compiled it from machine on …

Member Avatar for sudarshansirsat
0
360
Member Avatar for kmbl84

[I]Hi, I writing a "Math Game program" which does the follow: Generate random two operand problems. Allow to the user to enter the solution Each time the user gets a correct result then display a random encouraging message. Similar for incorrect attempts. This program works good in BlueJ, BUT when …

Member Avatar for NormR1
0
331
Member Avatar for begueradj

Hello people, I designed this class: [CODE] package aiproject; /* * This class has the task to read the data stored in a file called "fichier.txt" * line by line. * The read lines will be put inside a List called lignesDeMonfichier * Also, this class counts the number of …

Member Avatar for JamesCherrill
0
315
Member Avatar for dennysimon

hi all, Is there simple example out there where image is made by drawing lines on the panel ,and then print it on paper thank you denny

Member Avatar for dennysimon
0
124
Member Avatar for vaironl

I have a recipe class which has a constructor, the constructor takes in 7 parameters = RecipeName,AuthorName,Ingredients,Ingredientamounts,rating,servingSize,Instructions I'm trying to set those values using the scanner, but I don't know how to make it work since I have the scanner method inside of the Recipe class. So it looks kind …

Member Avatar for vaironl
0
123
Member Avatar for sandman64

What i need it to is write a GUI program that has one text field, one button, and one text area. The user can enter data into the text field, and then click the button. When the button is clicked, the program records the value in the text field to …

Member Avatar for Aviras
0
2K
Member Avatar for vaironl

I have a scanner which needs to read a recipe text file, specifically line 3. I want to read all of the words in that line using a delimiter (which I already know how to use). Though I don't know how to make the scanner stop before going to the …

Member Avatar for Aviras
0
150
Member Avatar for ynwa

Hi all, I am using a SWT combo box in java. The functionality is like whenever a user enter string in the combos text field, based on that string i am filtering the combos list values and displaying the list using combo.setListVisible(true). Now, after typing the first letter the list …

Member Avatar for Aviras
0
383
Member Avatar for innspiron

Hello, can anyone suggest me how to convert string to xml object in java? I have a string (Data) ant now I have to pass it as parameter as xml object, which structure should be: <MGWData>Data</MGWData> Where I surf I always see only solutions for converting string to xml document, …

Member Avatar for Aviras
0
704
Member Avatar for kumaresen

i am having prob in looping this java program...the 1st section is to choose the cloth material...then the length of material needed n lastly calculate the price of the needed length after discount...have done all of them...but having a prob were should i insert the loop to make the program …

Member Avatar for Aviras
0
129
Member Avatar for softDeveloper

Hi All! I'm doing a web application (jsp) where I have several texts displayed and highlights the text rolling mouse over it. I would like to pass an entire text as an applet parameter, so that the the text can be seen in a text pane/editor. At the moment I …

Member Avatar for softDeveloper
0
149
Member Avatar for Chuckleluck

I'm beginning game development, and I started by reading Michael Morrison's [I]Beginning Game Programming[/I], which teaches how to develop a game in C++ using the Win32 API. I've had a lot of trouble with things I don't have any experience in (when I shut down my program, the process still …

Member Avatar for mrnutty
0
486
Member Avatar for sike.mausa

I am trying to read a file using a string input as the filename. For example, if the filename is datafile.txt then if the input is "datafile.txt" and there is a file of that name in the directory, how do I read it? Here is my initial code: [CODE]Scanner kbd …

Member Avatar for Aviras
0
176
Member Avatar for hatebin

Hi, I'm trying to write a program in Java to send AT commands to my mobile and recive information via BlueT from it. I've already got a program to search and fide blueT Devices, and thats how i receve: 1.name of device 2.blueTooth Adress How to use this two things …

Member Avatar for hatebin
0
381
Member Avatar for SnarkysXe

The error is: class, interface, or enum expected. I've never seen or heard of this error before surprisingly, and I've written all of my code the same way, so I'm not too sure what's wrong with. I've put red arrows around the lines in question. Thanks in advance! [CODE]/* Hangman …

Member Avatar for NormR1
0
244
Member Avatar for Ruben1123

[CODE]public class Order { private int widgets; private double price; public Order(double undiscountedUnitPrice) { price = undiscountedUnitPrice; widgets = 0; } public void addWidgets(int quantity) { widgets = widgets+quantity; } public double getTotalPrice() { return price*widgets; } public double getUnitDiscount() { if(widgets>10000) { if((widgets-10000)/1000>47.5) double toTakeOff = (((widgets-10000)/1000)*.10); price = …

Member Avatar for Aviras
0
158
Member Avatar for Aviras

Hello everyone, I'm a java programmer writing a half graphical half text rpg. For the moment I read my data from text files, e.g. Enemies.txt id name hp and so forth. However, I want to make it a little more clear to handle, as in a database format. I can …

Member Avatar for Aviras
0
147
Member Avatar for dandeliondream

Hi, I wish to display the homepage of 3 websites (e.g. [url]www.msn.com[/url], [url]www.google.com[/url], [url]www.apple.com[/url]) on screen. What should i use? Is there a tutorial somewhere?

Member Avatar for Anyday
0
133
Member Avatar for Dwillich87

Alright I think I'm getting closer but now my program skips by my System.in feature so the radius is never enter and just runs to completion any help would be greatly appreciated [CODE]import java.util.Scanner; public class Square { static class Circle { float radius; public double CircleInfo() { Scanner in; …

Member Avatar for Akill10
0
124
Member Avatar for xanawa

Hi, I would like to know the code used for java to clear the screen as we do in c# using [COLOR="red"]Console.clear();[/COLOR] is it possible in Java aswell? If yes, what code should i use?

Member Avatar for Taywin
0
142
Member Avatar for Aviras

Dear Daniwebbers, I have a problem regarding the calling of methods on a protected parent object from within a child object, the protected parent object being a child object of the same class. I have a class HostileArea, wich has a "protected DungeonRoom[][] dungeon", DungeonRoom being a child of HostileArea. …

Member Avatar for JamesCherrill
0
216
Member Avatar for nyemba

I'm having trouble sorting names in alphabetical order using counting sort, forinstance Gregory John, Alex Smith, Adam Richard, Alex Ryan Output hould be in this order Adam Richard Alex Ryan Alex Smith Gregory John My code so far [code] import java.util.ArrayList; import java.util.Scanner; public class Names { //private static int[] …

Member Avatar for Taywin
0
270