@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> cool
<0> calchas: what object? ive created 4 buttons and a simple Frame.
<0> i can't write button1.setTitle
<1> what object is an instance of JFrame ?
<1> which
<0> public cl*** MyOwnFrame extends javax.swing.JFrame {
<1> that's a cl***
<1> what object
<1> there is a difference between a cl*** and an object



<1> xxxx = new MyOwnFrame( ...
<0> there is no object here
<1> you need to call set Title on xxxx
<1> then there is no JFrame
<1> so I guess there is
<0> w8
<0> i know the name of the objects of the buttons
<0> public cl*** MyOwnFrame extends javax.swing.JFrame {
<0> public MyOwnFrame() {
<0> initComponents();
<0> }
<1> do you see buttons on the screen when you run the program ?
<0> yes
<0> ah
<1> is there a new JFrame or new MyOwnFrame in any of your code
<0> JFrame
<0> yes
<0> the name "JFrame"
<1> and the object is ?
<0> JFrame
<1> that's it's cl***
<1> FFS
<1> go and learn waht an cl*** and an object are
<1> I can't help you as you don't have the language and basic concepts
<0> i know what is a cl*** and an object
<1> you do not
<1> trust me
<1> learn basic OO before swing
<1> good luck
<0> ok
<0> thaks
<2> Hi! Could anybody tell me how can I draw something on a jFrame?
<2> pls!...



<2> :)
<1> add an object that extends JPanel and draw on it in it's paintComponent method
<1> see the tutorial for details
<1> thejavatutorials.com
<2> why can't I use something like getGraphics()
<2> Play p=new Play();
<2> p.show();
<2> Graphics g=p.getGraphics();
<2> p.paint(g);
<2> Play is a jFrame
<1> stop paisting code
<1> no you can't
<1> and you should not be using paint for anything in swing
<2> oookk... the darkness keeps getting deeper and deeper...
<1> paintComponent is called as part of the GUI loop, just making the GUI visible will get it called
<1> have you looked in the tutorial yet ?
<2> no, but now I will! Thx for you're time!
<1> firstly extend a JPanel, override the paintComponent method to draw a line or such, in
<1> ...
<1> idiot
<3> hello
<1> hi
<3> question: anyone here knows how to setup a jsp server(tomcat)
<3> ?
<4> Gautama: read docs
<5> Hey guys. Here is my question: does a .cl*** file contain the method arguments names?
<6> melfar: no clue
<5> when you override a method from JRE, it ends up in that method generator calls arguments arg0, arg1 etc.
<5> no good.
<6> i don't understand what you said.
<5> well. any part of it?
<6> "overriding a method from jre", "that method generator calls arguments arg0"
<5> some IDEs (like eclipse) has a "override method" wizard
<6> they do? what for?
<5> so that you can choose a method from a parent cl*** and override it
<6> oh? that is useful?
<5> it's certainly better than looking it up in javadoc and typing manually
<6> aha


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

What is placement new? Why would you use it? in c++
wher do turkeys live
#MissKitten
#php
#chatzone
#php
#linux
#linux
undernet idlebot
mysql polyserv



Home  |  disclaimer  |  contact  |  submit quotes