ColorFinder.java
Fire up your FX engines for some GUI chewy fun! Here is what it is going to look like.
Sliding the sliders changes the color in the color field and it updates with the hex value of that color.
Now the user types a valid hex code in the hex code box.
Et voila! When the enter key is hit you see this.
It is up to you to decide what happens if the hapless end user
enters an invalid string for a hex code. Use exception handling
for this. Also notice that the hex code box should accept any of
these: #abcdef
, 0xabcdef
, 0Xabcdef
,
or abcdef
. The entry in this box should be case-insensitive.
When enter is hit, the hex code should display with a 0x
prefix
and it should display in caps.
It is important that your program not crash because of user abuse!
Partner I | Partner II |
---|---|
Fugikawa, Olivia | Gunter, China |
Patel, Niraj | Bobbadi, Mahesh |
Dubey, Siddhant | Negus, Patrick |
Kaminsky, Matthew | Yalamanchi, Dhruv |
Davis, Noah | Li, Jason |
Woodward, Nathaniel | Nesbitt, Sidney |
Bare, Matthew | Zhu, Cindy |
Chen, Oliver | Hart, Gabriel |
Mather, Graham | Gordon, Benjamin |
Takara, Marina | Sizemore, Patrick |