java - awt eventqueue 0 nullpointerexception error -


Well I'm getting error awt eventqueue 0 nullpointerexception error . When I removed the Jepinl try to remove me

What does confuse me when I have another JPanel , it works perfectly fine But it's not like this one. The first code below shows the JPanel that it does not remove JPanel when I click on JButton .

  implement public square buttontime ActionListener does {// timebutton make the action list for implementing a Knbokoboks public void action to click on (ActionEvent clickTime) {value object = New Price (); PriceObject.getPricepanel (); Delete (priceObject.getPricepanel ()); PriceObject.getPricepanel () re-verified () .; Add (timeObject.getTimePanel (), Border Layout. EAST); TimeObject.getTimePanel () re-verified () .; }} // This gives me 0 errors I public class Btnpriks ActionListener implements {// Klikpris a Knbobaks public void Akshnprrfed (Action event to make Akshnlilder to click on Taimbtn) {Price Price object = New Price () ; PriceObject.SelectPrice (); Delete (timeObject.getTimePanel ()); TimeObject.getTimePanel () re-verified () .; Add (priceObject.getPricepanel (), border layout. EAST); PriceObject.getPricepanel () re-verified () .; }}    

  Remove (priceObject.getPricepanel ());   

is to NullPointerException when you remove the panel, then priceObject.getPricepanel () to null .

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -