79353270

Date: 2025-01-13 19:41:17
Score: 1
Natty:
Report link

Hey everyone my problem is solved.The key was using parent.paintAll(g); before setting opacity in paintComponent event so the target panel can fade infront of the parent pane and its components while also using SwingUtilities.paintComponent(g2, target, parent, innerArea); to paint the graphics into my target pane and set its opacity. Unfortunately the target.paint() didnt work for me but Im glad its fixed.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Just a Developer