一个frame上有72个textpane,鼠标移动到某个textpane上时,该textpane的背景变成红色。
如果给每个textpane写mouseentered事件,比较麻烦。请问我写一个CustomTextpane,这个类里面已经自动完成了mouseentered事件的处理?