79724149

Date: 2025-08-03 15:59:27
Score: 2
Natty:
Report link

JTabbedPane indexOfComponent(component) check with == method which means it check the components are same in memory. so if you are passing the same component it will not work,

You can override the indexOfComponent method and allow it to pass the duplicate component

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AKL SOFTAWARE