This is a discussion on A question about patterns in JAVA and GDI within the Software Patterns forums, part of the Testing category; I have two questions. 1. Windows GDI is an abstraction as you can write to any display surface and that ...
|
|||||||
|
|||
|
A question about patterns in JAVA and GDI
I have two questions.
1. Windows GDI is an abstraction as you can write to any display surface and that display surface may be a display or a printer or anything. My question is which design pattern is used here. ( is it abstract factory or something else? ) 2. In java a ByteReader instance can be passed to any FileReader or SocketReader So related classes can be passed to as an arguments. Which is this design pattern |
| Sponsored Links |
|
|||
|
Re: A question about patterns in JAVA and GDI
In article <84f7f54c.0410180521.1d3fde86@posting.google.com>, on 18 Oct 2004 06:21:25 -0700,
m_gn@yahoo.com (Mandar) wrote: | I have two questions. | | 1. Windows GDI is an abstraction as you can write to any display surface | and that display surface may be a display or a printer or anything. | | My question is which design pattern is used here. | ( is it abstract factory or something else? ) | | 2. In java a ByteReader instance can be passed to any FileReader or SocketReader | So related classes can be passed to as an arguments. | Which is this design pattern http://www.soberit.hut.fi/tik-76.278/group6/awtpat.html http://www.developer.com/tech/print.php/617501 <davidp /> -- David Postill |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|