()
| 1954 | /// |
| 1955 | /// returns the form title |
| 1956 | public String getTitle() { |
| 1957 | if (toolbar != null) { |
| 1958 | Component cmp = toolbar.getTitleComponent(); |
| 1959 | if (cmp instanceof Label) { |
| 1960 | return ((Label) cmp).getText(); |
| 1961 | } |
| 1962 | return null; |
| 1963 | } |
| 1964 | return title.getText(); |
| 1965 | } |
| 1966 | |
| 1967 | /// Sets the Form title to the given text |
| 1968 | /// |