Fuzzyness's Profile
Reputation: 669
Enlightened
- Group:
- Author w/DIC++
- Active Posts:
- 2,438 (1.58 per day)
- Joined:
- 06-March 09
- Profile Views:
- 15,777
- Last Active:
Oct 26 2012 11:56 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Chevrolet
- Dream Kudos:
- 150
Latest Visitors
-
jan07 
10 Feb 2013 - 10:16 -
smohd 
03 Jan 2013 - 08:33 -
farrell2k 
30 Dec 2012 - 06:03 -
darek9576 
06 Dec 2012 - 14:54 -
lucky3 
23 Nov 2012 - 08:31 -
raghav.nagana... 
21 Nov 2012 - 04:39 -
Martyr2 
15 Oct 2012 - 15:18 -
aresh 
07 Oct 2012 - 10:12 -
vbabey 
07 Sep 2012 - 20:57 -
FrozenSnake 
10 Jul 2012 - 09:12
Posts I've Made
-
In Topic: Blocking Certain Dates in a JDateChooser
Posted 14 Mar 2012
Well you need to put the JDateChooser in the do while loop, so it will keep overriding it until there is an acceptable Date. The chooser will return an Date object so assign it to one and then check that Date objects day.
Ex. -
Date theDate; do{ // some code for the chooser theDate = // the selection }while(theDate.getDay() >= 5);
Make Sense? -
In Topic: Grade Processor Program "Road Block"
Posted 14 Mar 2012
Click the green Plus button in bottom right hand corner of the post that was helpful.
and Sure thing buddy.
Happy Coding! -
In Topic: Blocking Certain Dates in a JDateChooser
Posted 14 Mar 2012
I am not sure if you can change a setting of the JDateChooser.
You could always throw it in a loop and call the getDay() method which will return an int, and if that int is >= 5 then have it cycle again. 5 is a Friday and 6 is a Saturday.
getDay()
JDateChooser should return a date, so take the date they selected, if the getDay() method returns 5 or 6 then have it cycle through again, so put the JDateChooser in a Do..While loop, and have the condition be less than 5. Since 0-4 is Sun-Thurs
Make sense? -
In Topic: Grade Processor Program "Road Block"
Posted 14 Mar 2012
Well, just make it output the same way that it is input. In the same format, so if you have a number grade followed by a letter grade print out like that
out.println(grade + " " + lGrade); -
In Topic: Grade Processor Program "Road Block"
Posted 14 Mar 2012
while ( grade != -1 );
You need to remove the semi colon after the while loop, it does not belong there after a while loop statement head.
Now, what was the other error? A lot to read and too early in morning to do it so if you could just restate the remaining problems when fix that statement would be great!
My Information
- Member Title:
- Comp Sci Student
- Age:
- 22 years old
- Birthday:
- April 29, 1991
- Gender:
-
- Location:
- Collin County, Texas
- Interests:
- I enjoy programming in Java and figuring out how much I can expand my knowledge, I am greatly amused by some of the things you can do. I love Java, not extremely fond of C++ but have a little experience in it. Double majoring in Networking Computer Science Java Track in college curently. Am an 21 year old kid who loves music and programming and friends. Currently an Information System Technician at my work, fancy title for IT guy for a General Contractor! I stay up wayyy to late fo rmy own good :)
- Years Programming:
- 2
- Programming Languages:
-
Java and C++
Learning: PHP, JavaScript, MySQL
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://
- Yahoo:
-
cbrown42991@yahoo.com
- Xfire:
- fuzzyness1
|
|


Find Topics
Find Posts
View Reputation Given


|
Comments
smohd
16 Feb 2012 - 07:16smohd
14 Feb 2012 - 20:53smohd
16 Nov 2011 - 09:41smohd
10 Nov 2011 - 14:55smohd
25 Oct 2011 - 00:16smohd
06 Oct 2011 - 12:13Fuzzyness
02 Sep 2011 - 11:15nicool
01 Sep 2011 - 10:12http://www.dreamincode.net/forums/topic/245197-want-to-make-java-application-available-to-all-user-of-network/page__view__findpost__p__1421759__fromsearch__1
nicool
01 Sep 2011 - 09:51Could you please help me?