Question related to creating an image and writing text on it and also placing icons on the created image

Posted on 2006-05-22
Last Modified: 2010-03-31

Is it possible to create an image and writing text and placing icons on the created page .

       --------------             ------------
      |  Time       |            | Weather| (icons)             |
        -------- ---               ------------                                                              
                                                                              |                                                                              |
                        Background image                           |

Just similar to above image. Background image and write text on it. and also create small images like icons and writing a text on it.

Is that possible using java code?????

1.create backround image as (.png) file
2.write text and icons on it. where icons again will have text on it.

Is that pssoble in java???

Question by:cutie_smily
    LVL 86

    Accepted Solution

    Override paintComponent on a JPanel

    In it draw the image and be sure to call super.paintComponent(g);
    LVL 92

    Assisted Solution


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    advance java 4 36
    powerN  challenge 3 36
    pairstar challenge 2 26
    Understanding websocket example in spring 1 21
    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now