#Hi, I need some help with my colorpicker.

21 messages · Page 1 of 1 (latest)

obtuse night
#

I got ChatGPT to write a colorpicker! Now, Ive been trying to finish it but Ive been unable to. The thing I am trying to fix is my JLabel which is supposed to display the RGB values of the picked color. With the JLabel the Colorpicker doesnt work and my window is just White without any action. As soon as I comment everything to do with said Label, it works again. Now, Ive googled a bit, and Ive asked ChatGPT to fix it, but both have been unable. You're my last hope. Please Help!

I am quite unsure on how I can show you the code, as the message exceeds the 2000 Characters Limit!

FireCreeper21

crystal saddleBOT
#

This post has been reserved for your question.

Hey @obtuse night! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

ebon grove
#

oh it exceeds the 2000 limit, try pastebin

obtuse night
#

Did that work?

ebon grove
#

yeah

#

it works for me but it sort of chugs (i guess because of the while true)

obtuse night
#

what does chugs mean?

ebon grove
#

runs badly

obtuse night
#

How can I fix this?

ebon grove
obtuse night
#

It checks the color under your mouse

ebon grove
#

yeah i see that

#

it doesn't seem to understand a 2nd screen though

obtuse night
#

yes

#

Idk how to fix that

#

And also I cant figure out how to display the RGB value correctly

obtuse night
#

I did it