0

Do any of javax.awt, javax.swing or windows forms components support hardware acceleration? Is WPF the only way to use hardware acceleration on a forms application, what would be the best alternative for WPF?

akjoshi
  • 15,374
  • 13
  • 103
  • 121
Uğur Gümüşhan
  • 2,455
  • 4
  • 34
  • 62
  • 3
    It depends on what you consider 'hardware acceleration'. In general you wouldn't be concerned about 'getting' hardware accelerated but instead you would want the application to be fast. – Emond Jun 08 '12 at 19:57
  • @Erno I want graphics card to do the drawing of components on the screen, because when I have many elements on the screen resizing becomes troublesome. – Uğur Gümüşhan Jun 08 '12 at 20:01
  • 2
    @ugurcode How many elements do you have? I have made forms with over 2000 components without being it a problem. Are you sure there is not something else lying there? – Guillaume Polet Jun 09 '12 at 08:54

1 Answers1

1

You have to use a modern framework so as to enjoy hardware acceleration. WPF/Silverlight is the solution from Microsoft, but they are for .NET only. You can check other vendors' solutions, such as Embarcadero's FireMonkey.

AWT, Swing, WinForms are too old to support that. But due to the rise of HTML 5, web applications get hardware acceleration easier and earlier than most desktop apps, because web browsers such as Internet Explorer/Firefox/Google Chrome already support it.

Lex Li
  • 60,503
  • 9
  • 116
  • 147