Exforsys

Online Training

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 ...


Go Back   Exforsys > Testing > Software Patterns

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-18-2004, 10:21 AM
Mandar
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-20-2004, 05:33 AM
David Postill
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.