OK got it thanks buddy :)
Type: Posts; User: n00b
OK got it thanks buddy :)
i meant to say displaying image of image files in Terminal window or JFrame...
Actually i meant to say that if we can display picture files in output of java program
hello everybody
i wanted to know if we can import images in java or not
if we can , i want its tutorial
please
Regards
Oops sorry about it , will remember it :o
Thank you for the help
I already know that but i want a chatbox-like layout which is not there please can ugive me the code for it please
actually i hav been posting a question about JTextField which no buddy hav yet understood... :(
but i now i have image about my problem
actually i want my display to be this (don't car about...
Thnx Meathead and KevinWorkmen
@meathead here is the whole program :-
public class TextField1 extends JApplet implements ActionListener
{
JTextField Input;
JTextField Echo;
public JFrame Panel = new...
I wanted know how to make a JTextField text box with dimensions - length 100 and Width 20
here is the code of the JTextField text box i made:-
Echo = new JTextField(20);
the 20 written is the...
lol...Yea you finally understood me :P
but it was not exactly what i wanted but i got some help and got the solution thanks
i m not that n00b lolz :rolleyes:
but when i increase the value,the width of the textbox increases but length remains the same :(
i meant to say to change the length of the text box created with JTextField (Echo)
Echo = new JTextField ("", 20);
ok i just created a text box with JTextField
here is the code:-
public class TextField1 extends JApplet implements ActionListener
{
JTextField Input;
JTextField Echo;
...
OK this problem is solved now
i used other method to make the rectangle.
Thnx anyway...
here is the simple test code :-
import java.awt.Graphics;
import java.awt.geom.*;
public class test
{
Graphics g;
public void blah()
Thanks alot copeg... :o
The title says it all . i want to make a Rectangle Box in JFrame and fill colors in it And also the colors available to be filled in that rectangle.
I want some Short and Easy method method
Thank...
Hello i wanted to ask for help .
here is my program :-
import java.awt.Graphics;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.Scanner;