Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6485977

Need method to set global rendering hints

XMLWordPrintable

      A DESCRIPTION OF THE REQUEST :
      When I need to render fonts and images, and other graphics objects on the screen, I can override its paintComponent() to set the rendering hints for that object. This becomes a pain if I want to set antialiasing on for everything. It would be nice if there were something like:

      javax...swing...setDefaultRenderingHints(...)

      once at the start of the program and not have to have wrapper objects for every different kind of graphic object I need

      JUSTIFICATION :
      It saves a lot of coding

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A single call to set one/multiple rendering hints for all

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: