CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: darkmaster

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,087

    controlling the browser

    i visit only a few websites

    so, i want to make a java program that will close my browser if i enter some other site than a selected few....
    any help or a hint would be appreciated....thanks
  2. Replies
    1
    Views
    973

    Re: FORM filling using JAVA

    i know how to open a program through a java program(using Process proc = Runtime.getRuntime().exec(); )
    but i don't know how copy a word from a file and paste it into another
  3. Replies
    1
    Views
    973

    FORM filling using JAVA

    here's the task:

    i got a program and a word file.
    the program has some input fields and the word file contains the corresponding words to be put in input fields.
    so, i want to write a java...
  4. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    got it....thanks a lot....
  5. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    and i used them on JPanel....



    panel1.add(tfield1,BorderLayout.PAGE_START);


    i used this code....and i'm getting a flowlayout....
  6. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    actually earlier i used "BorderLayout"....
    but i put all my 3 buttons in south....
    but i got only 1 button covering the whole south part of the frame....
    and when i maximise my window it showed me...
  7. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    how would i implement if i'm not using any layout manager....
  8. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    can u tell me how to move a JButton in a JFrame....i tried every possible thing known to me but its not working....
  9. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    the above stuff worked....
    now i just wanna know if i can get the same JTable on the first JFrame only....
    i mean the JTable should replace the content of the first JFrame....
  10. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    i have created another class which shows a JTable in a JFrame....
    i want to access this JFrame from my earlier class where i have made the date stuff....
    so i included one more button(WHOLE DAY)...
  11. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    oh!!.... sorry i didn't get your earlier reply in the same way as you described it....and that's why i asked you the same question again and again....anyway your reply was very useful....
    thanks....
  12. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    one more question....
    in the above app if i add a button and pressing that button should take me to next window/JFrame....
    so can you tell me how to implement it..........
  13. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    actually i'm trying to make an app.....
    in this when i press the date button and get the date, it will automatically check the date and time and accordingly show the "to-do thing" defined for the...
  14. Replies
    18
    Views
    4,046

    Re: JTextField-Text Access

    i want to take it as String and then compare with some other strings(time/date) defined by me....like if the time (date) matches it will return the "to-do thing" defined for that time......
  15. Replies
    18
    Views
    4,046

    JTextField-Text Access

    i'm making a program which needs the access to the text in JTextField......
    i just want to know how to do it....

    the first thing that program do is that it gives the current date.....



    ...
  16. Replies
    9
    Views
    2,414

    Re: swing case-JFrame

    i used your code and i got the image....
    then i tried another code....it was given in the java tutorial....



    BufferedImage img = null;
    try {
    img = ImageIO.read(new File("Sample...
  17. Replies
    9
    Views
    2,414

    Re: swing case-JFrame

    i just went through your code "Background image panel"....
    in the "usage" section,there's a following code....



    ImagePanel ip = new ImagePanel("myImage.jpg", false);
    f.add(ip);


    so my...
  18. Replies
    9
    Views
    2,414

    Re: swing case-JFrame

    As you said keang i'm going through the java tutorials....
    but i'm stopped for a while because i'm not able to load an image into my program from my computer....
    so can you tell me how to load the...
  19. Replies
    9
    Views
    2,414

    Re: swing case-JFrame

    i meant that it should take me to the next window(frame)....

    thanks for the advice keang....
    Can you tell me some sources for learning the "java GUI"....
  20. Replies
    9
    Views
    2,414

    [RESOLVED] swing case-JFrame

    can anyone tell me how to attach one JFrame to another one??....


    I mean if i have a frame including a button and when i press that button it should take me to the next frame....
  21. Replies
    7
    Views
    1,600

    Re: NullPointer Exception

    thanks everyone....
  22. Replies
    7
    Views
    1,600

    Re: NullPointer Exception

    but that's what i'm doing in the following code.....




    p[k].x = (int)(s.charAt(j)-48);
    p[k].y = (int)(s.charAt(j+2)-48);
  23. Replies
    7
    Views
    1,600

    Re: NullPointer Exception

    import java.awt.Point;

    public class BananaCorp {

    public static double distance(Point p1, Point p2){

    double sqX = (p2.x - p1.x)*(p2.x - p1.x);
    double sqY = (p2.y -...
  24. Replies
    7
    Views
    1,600

    NullPointer Exception

    i'm making an array of Point objects........
    but getting the exception........




    Point[] p = new Point[corpsDestroyed];
    for(int j=ind+3,k=0; j<s.length(); j+=6,k++)
    {
    ...
  25. Replies
    17
    Views
    4,665

    Re: Java Challenge

    @keang.......

    got it......man.......

    will provide only guidance here after.......
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured