![]() 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with this library if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 20 package drawboard 21 22 import java. See the GNU 13 Lesser General Public License for more details. drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1). 9 10 This library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Inside the class, we declared the main method. We first declared a DrawLine class, which extends the Applet class (Parent class). In the above example, we created two lines and also displayed some text. ![]() As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Java source code syntax highlighting (style: standard) with prefixed line numbers and code folding option.Īlternatively you can here view or download the uninterpreted source code file.įor more information about "ColorPicker.java" see the Fossies "Dox" file reference documentation.ġ /* 2 Drawboard - Java applet used to make graphical teleconferences 3 Copyright (C) 2001 Tomek "TomasH" Zielinski, 4 5 This library is free software you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public 7 License as published by the Free Software Foundation either 8 version 2.1 of the License, or (at your option) any later version. The drawLine () method of the Graphics class is used to draw a line with the given color between two points. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |