Chapter 12. Advanced Issues

This chapter deals with various issues that are encountered less often by developers. Rather that being classified as 'advanced,' these topics can be seen as solutions to specialized problems that seldom occur in average GUIs and would not be of interest for the average reader, but that are still useful to consider, as they apply to a wide range of real cases.

The chapter is organized as follows:

12.1, Building on top of existing libraries discusses some of the issues related to creating APIs and frameworks, also taking advantage of usability.

12.2, Memory management for complex GUIs illustrates problems and possible solutions with practical examples.

12.3, Restructuring existing GUI code discusses various issues related to renewing and restructuring existing Java GUI code.

12.4, Exploiting technology proposes alternative uses of some Java GUI technologies.

12.5, Domain-specific and Little languages discusses the use of this technique for Java GUIs.

12.6, The future of Java GUIs attempts to forecast the future of Java GUI technologies.

Building on top of existing libraries

A frequent habit of designers is to create reusable classes in order to save development time in future projects. Even if full reusability is often an unfulfilled dream, there are certain common patterns, as we have seen throughout this book. We have discussed some possible strategies, focusing mostly on more reusable patterns. Here we will explore another approach to code reuse for non-trivial ...

Get Professional Java User Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.