I am making an application where at some point i need the user to select a color, but as to not just have 50 radioButtons, I was wondering if it is possible to actually get the
Why don't you use a JColorChooser that is a standard Swing component?
JColorChooser
You can read a tutorial here but it is quite straightforward to use, as every Swing dialog, the result is something like: