Skip to content

Tag: swing

Close window after checking

I’m having a slight issue, and I can’t figure it out. I want for my code to check if the email and password matches and then close the window. This the action: Answer I am going to assume you have an issue with opening a new frame and disposing of the login frame, because if you have an issue with

Adding JavaFX PieChart in JPanel

I want to add a Pie chart inside a JPanel. I have gone through this and this. But it didnt helped me. I tried this code in the debugger but it is not getting pass line X. Somehow setScene function is not working and pie chart is not visible in the panel. Here’s my code: I am not sure why