TwinkleTurd ✨
TwinkleTurd ✨
JCHJava Community | Help. Code. Learn.
Created by TwinkleTurd ✨ on 11/13/2024 in #java-help
Java Swing window not showing
I have uploaded 2 .java files one is ShapedWindow and second Window. When running ShapedWindow the window appears as expected and UI works. ShapedWindow is basically few copypasted snippets together, so I wanted to rewrite it with Anonymous class overriding JPanel as seen in Window class but when running that, GUI does not show up, as if the call to display does not happen. Since biggest change was the Anonymous class I would be looking for issue there but I am not sure what exactly I am looking for. Is there a way of doing this better?
5 replies
JCHJava Community | Help. Code. Learn.
Created by TwinkleTurd ✨ on 10/10/2024 in #java-help
Paste functionality in Java
No description
41 replies