On Thu, 21 Mar 2024 16:45:40 GMT, Prasanta Sadhukhan <[email protected]> wrote:
>> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove getContentPane usage > > test/jdk/javax/swing/JInternalFrame/Ctrli.java line 126: > >> 124: keyecho.addMouseListener(mouseListener); >> 125: frame.setLayout(new BorderLayout()); >> 126: frame.getContentPane().add(keyecho); > > getContentPane is obsolete since jdk1.5 so can be removed as per this > [comment](https://github.com/openjdk/jdk/pull/18390#discussion_r1533017080) Ok... Updated. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18428#discussion_r1534348867
