Replace autogenerated swing panel with custom title panel