greptilian logo

IRC log for #friendlyjava, 2021-02-16

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:31 kirua joined ##friendlyjava
08:02 kirua joined ##friendlyjava
12:13 kirua joined ##friendlyjava
13:58 philbot joined ##friendlyjava
13:58 Topic for ##friendlyjava is now Be friendly :) This channel is publicly logged at http://irclog.greptilian.com/friendlyjava/today ⚫ Please use a pastebin for pasting code
15:02 mr_lou joined ##friendlyjava
17:57 kingargon joined ##friendlyjava
17:57 kingargon Good morning
17:57 kingargon im having an issue with JComboBox. Its showing up blank. https://pastebin.com/C83JTd9t
17:58 kingargon Can someone take a quick peak and tell me what im doing wrong?
17:59 aditsu hi there, I'll check
17:59 kingargon :)
17:59 kingargon ty
18:04 aditsu the frame sometimes comes up blank, but if you click in the middle, the combo box appears
18:05 aditsu anyway, I'll try to improve the program
18:10 aditsu kingargon: here is my version: https://dpaste.com/32N9LZ6G2
18:11 aditsu main points are: do Swing things on the event dispatch thread, add components after setting the layout, make the frame visible at the end
18:12 aditsu also, it is not usually recommended to extends the JFrame class
18:38 kingargon omg ty! Ive never seen that invokeLater method before, ill have to research that one! :)
18:49 aditsu sure :)
21:13 kingargon joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode