🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15924

Which one is correct?

#15924
From: John l.yn
Date: Fri, 16 Apr 1999 00:00
20 lines
945 bytes
Hi:
  I want to inherit g.drawString from my Applet. There have two ways that
looks like exact when running.
  The first is:
      public void paint(Graphics g)
          g.drawString("test your bility before",20,20);
          super.paint(g);
         }
  The second is:
      public void paint(Graphics g)
          super.paint(g);
          g.drawString("test your bility",20,50);
         }

  Which one is correct? I think may be the Second.It is puzzle me!

Best Regards!


John l.yn
Technical Details
Message-ID: <7f6tio$k6n28@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a7b199d28b1928f8
X-Google-Attributes: gidf74b3,public
From: "John l.yn" <lyn926@usa.net>
Subject: Which one is correct?
Date: 1999/04/16
Message-ID: <7f6tio$k6n28@forums.borland.com>
X-Deja-AN: 467056722
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language