jframe adding own design jinternal frame error
- by Van Minh
I designed a title bar color on my JInternal frame. Then I took attempt to add it to my JFrame, but I cannot. Here is the code of my title bar:
public class MyIFtitleBar extends BasicInternalFrameTitlePane {
public MyIFtitleBar(JInternalFrame jif) {
super(jif);
}
protected void paintTitleBackground(Graphics g){
…