chandu sekhar

Greenhorn
+ Follow
since Apr 22, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chandu sekhar

hi jitender,

for more clarification, a small example :

package mypackage;

class Parent
{
//Parent(String str){}
public static void XYZ(){ System.out.println("Parent XYZ");}

}

public class Child extends Parent
{
public static void XYZ(){System.out.println("Child XYZ");}
public static void main(String[] args)
{
Parent ch = new Child();
ch.XYZ(); // Special Line
}

}

if u change the statement at special line

1. Parent ch = new Child();
ch.XYZ(); // Special Line

Output is ----> Parent XYZ

2. Parent ch = new Child();
Parent.XYZ(); // Special Line

Output is -----> Parent XYZ

3. Child ch = new Child();
Child.XYZ(); // Special Line

Output is -----> Child XYZ

try some more combinations, so that u can understand better. hope it helps.


Chandu.
hi friend,

I have developed a small program that works exactly as notepad. I noticied using JEditorPane is more useful than JTextPane. JEditorPane handles all types of contents. it is as stright as JTextPane.

Happy working...

Chandu.
18 years ago
Thanx a lot Gregg Bolinger ...

I got the solution ....

Regards,

Chandu.
19 years ago
hai,

I want to expand my screen in horizontal direction ONLY. now when i click maximize button i shud expand in horizontally only not vertical....

can any body help me .....

Regards,
Chandu.
19 years ago