Results 1 to 3 of 3
  1. #1
    Gudradain is offline Member
    Join Date
    Nov 2008
    Posts
    44
    Rep Power
    0

    Default Class to store Image+Text

    Hello

    I would like to know if there is a class to store image+text at the same time.
    For example, String can store a chain of characters and BufferedImage can store an image. But is there, any class that can do both at the time?

    Thx for your help.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    But is there, any class that can do both at the time?
    Sure, a class you create. Something like this could work:
    Java Code:
    class ImageString
    {
      private String text;
      private BufferedImage image;
    
      //... you can figure out the rest
    }

  3. #3
    Gudradain is offline Member
    Join Date
    Nov 2008
    Posts
    44
    Rep Power
    0

    Default

    Thx for the quick reply. I will start making this class then. I just want to make sure I wasn't working for nothing :)

Similar Threads

  1. Replies: 0
    Last Post: 11-15-2008, 10:09 PM
  2. How to store/retrieve PNG image in/from RMS
    By jason-nexFIT-mobileXware in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-10-2008, 04:01 AM
  3. Replies: 16
    Last Post: 05-08-2008, 09:45 PM
  4. Replies: 0
    Last Post: 08-15-2007, 01:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •