| 810 | /// @deprecated this method was exposed to allow some hacks, you are advised not to use it. |
| 811 | /// There are some alternatives such as command behavior (thru Display or the theme constants) |
| 812 | public Container getTitleArea() { |
| 813 | if (toolbar != null && toolbar.getParent() != null) { |
| 814 | return toolbar; |
| 815 | } |
| 816 | return titleArea; |
| 817 | } |
| 818 | |
| 819 | /// Returns the configured desktop title-bar mode ({@code native}, {@code custom} or |
| 820 | /// {@code toolbar}). Sourced from the implementation (desktop ports report the real mode; |