
- Forum
- Testing
- Software Patterns
- A question about patterns in JAVA and GDI
A question about patterns in JAVA and GDI
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 ...
-
10-18-2004, 09:21 AM #1Mandar Guest
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
-
10-20-2004, 04:33 AM #2David Postill Guest
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

Reply With Quote





