[wiki] Updated: IocContainerInternals/TheBasics/TheGlorifiedHashMap
| Newsgroups | gmane.comp.java.jicarilla.cvs |
|---|---|
| Message-ID | <[email protected]> |
Date: 2004-03-04T23:02:48
Editor: 130.89.169.128 <>
Wiki: JicarillaWiki
Page: http://lsd.student.utwente.nl/jicarilla/IocContainerInternals_2fTheBasics_2fTheGlorifiedHashMap
no comment
Change Log:
------------------------------------------------------------------------------
@@ -92,12 +92,12 @@
seems like no just about no gain whatsoever. The trick now is that we're going to make our container more intelligent (we'll be making it less general at the same time). I want a container that automatically provides me with a JFrame (you can call the JFrame a "container facility" if you're into fancy terms) automatically, and that understands to add any button I feed it to that frame. The need for such a thing is highly debatable, but so is following a large amount of floating donuts and falling down a steep cliff doing so. While I'm at it, lets make the container worry about what exactly goes on during "initialization" as well. In other words, make the container handle the "D'oh!!!". We now get something like
{{{
-public class SmartHashMapBasedSwingContainer
+public class CustomHashMapBasedSwingContainer
{
public final static void main( String[] args )
{
// Setup Stage
- SmartHashMap container = new SmartHashMapImpl(
+ CustomHashMap container = new CustomHashMapImpl(
"You don't make friends with salad! " +
"You don't make friends with salad!");
@@ -144,3 +144,6 @@
----
That's all for the night (at least on my part). More tomorrow. G'night.
+----
+
+[IocContainerInternals Contents] | [IocContainerInternals/TheSmartHashMap Next]
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click