User Profile

Collapse

Profile Sidebar

Collapse
madumm
madumm
Last Activity: Oct 19 '07, 07:54 AM
Joined: Jan 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • madumm
    started a topic Set Background image to JScrollPane
    in Java

    Set Background image to JScrollPane

    Hi all;

    How can i set a Background Image to this JScrollPane?

    JLabel imageLabel;
    JScrollPane jsp = new JScrollPane(ima geLabel);

    Pls need your sugessions...
    Thanking in advance
    Madumm
    See more | Go to post

  • madumm
    started a topic Convert Image into BufferedImage Need Help!!
    in Java

    Convert Image into BufferedImage Need Help!!

    Hi All;

    String newImagePath = "C:\temp\abc.bm p"
    File filePath = new File(newImagePa th);
    Image watermarkImg = Toolkit.getDefa ultToolkit().ge tImage(filePath .toURL());

    Any how i want convert this file in the "newImagePa th " to a BufferedImage.

    I tried to create a Image object and then convert into BufferedImage but it didn't work.

    Pls give your suggessions...
    See more | Go to post

  • madumm
    started a topic Convert InputStream into a Char Array Need Help !!
    in Java

    Convert InputStream into a Char Array Need Help !!

    Hi all;

    Can anybody tell me how to convert a InputStream into a Char array??

    InputStream foData;

    foData into a Char array??

    Thanx
    madumm
    See more | Go to post

  • how to convert InputSource into a Char array!! Need HELP

    Hi all;

    Anybody know how to convert an InputSource into a char array??

    need help
    Thanx
    See more | Go to post

  • No it won't solve like that; anyway i tried :(...
    See more | Go to post

    Leave a comment:


  • madumm
    started a topic Exception while reading!!! NEED HELP!!
    in Java

    Exception while reading!!! NEED HELP!!

    Hi all

    I'm getting a "Stream Closed " Exception while trying to read from read() method doing this..

    Can somebody help me in finding out y is it happening like that.

    my code
    --------------------------------------------------------------------------------------------------------
    public synchronized void render(XMLReade r parser, InputSource source)
    throws FOPException...
    See more | Go to post

  • Convert java Reader object into a char Array -- Need Help!!!

    Hi all;

    I hv a Reader object say;

    Reader r;
    r =.............. .;


    I need this reader object to be converted into a character array.
    ............... ............... ............... ............... ............... ............... ...............
    Can u pls give your ideas!
    your help will be greatly appreciated :)

    regards
    madumm
    See more | Go to post

  • I didn't get what u r saying...
    See more | Go to post

    Leave a comment:


  • madumm
    replied to Stream closed Exception !! Need Help!!
    in Java
    May be that's the reason;
    I have used a BufferedReader and instantiated it; but getting an Exception called "Stream Closed" from CharArrayReader .java

    Why is this happening!!...
    See more | Go to post

    Leave a comment:


  • But i tried that too; i encounterd this problem while doing

    if (source.getChar acterStream( ) != null) {
    br = new BufferedReader( source.getChara cterStream( ));
    br.read(buffer_ 2, start_2, length_2);

    This is giving a:::

    java.io.IOExcep tion: Stream closed

    at java.io.CharArr ayReader.ensure Open(CharArrayR eader.java:65)

    ...
    See more | Go to post

    Leave a comment:


  • The method in InputSource are:

    public InputSource (String systemId)
    {
    setSystemId(sys temId);
    }

    public InputSource (InputStream byteStream)
    {
    setByteStream(b yteStream);
    }

    public InputSource (Reader characterStream )
    {
    setCharacterStr eam(characterSt ream);
    }

    public void setPublicId (String publicId)...
    See more | Go to post

    Leave a comment:


  • madumm
    replied to Stream closed Exception !! Need Help!!
    in Java
    just a test !!! Y no body is replying
    See more | Go to post

    Leave a comment:


  • madumm
    started a topic Stream closed Exception !! Need Help!!
    in Java

    Stream closed Exception !! Need Help!!

    Hi All;

    I was trying to get this "source" into a BufferedReader ;
    but when running it gives a Exception as follows:
    -----------------------------------------------------------------------------------------
    org.apache.fop. apps.FOPException: Stream closed

    at java.io.CharArr ayReader.ensure Open(CharArrayR eader.java:65)

    at java.io.CharArr ayReader.read(C harArrayReader. java:95)...
    See more | Go to post

  • madumm
    started a topic Getting the content of InputSource!! Need Help!!
    in Java

    Getting the content of InputSource!! Need Help!!

    Hi all;

    My problem is as follows::

    // Class_1 code
    ------------------------------------------------------------------------
    private char[] fo;
    CharArrayWriter fos = new CharArrayWriter ();
    fo =fos.toCharArra y();
    InputSource foSource = new InputSource(new CharArrayReader (fo));

    //This foSource is passed to a method in Class_2 (Driver);
    driver.render(x mlReader,...
    See more | Go to post

  • madumm
    replied to Adding WaterMarks For PDF files
    in Java
    hi

    Yes have a package? How can i get that package and how to add it??

    Madumm...
    See more | Go to post

    Leave a comment:


  • madumm
    started a topic Adding WaterMarks For PDF files
    in Java

    Adding WaterMarks For PDF files

    Hi all;

    I want to add watermarks for PDF files. I have found a class called "PdfFileSta mp" to do that. Inorder to do that have to import "com.aspose.pdf .kit.PdfFileSta mp" for that how can i do it??

    How can i import the class "PdfFileSta mp", from where can i find it.

    Need HELP!!

    Regards
    Madumm
    See more | Go to post

  • madumm
    started a topic Casting Font object into Element--- Need Help!!
    in Java

    Casting Font object into Element--- Need Help!!

    Hi all

    I really need a solution for the following::
    -------------------------------------------------------------------------------------
    Say i have a font object called 'myFont' as shown below;

    Font myFont= domainAxis.getT ickLabelFont();

    I need to cast "myFont" object into a "Element" object as i shown below

    Element newFont = (Element)myFont ;
    ...
    See more | Go to post

  • madumm
    started a topic Casting Font object into Element--- Need Help!!
    in Java

    Casting Font object into Element--- Need Help!!

    Hi all

    I really need a solution for the following::
    -------------------------------------------------------------------------------------
    Font newFont= domainAxis.getT ickLabelFont();
    Element newFont = (Element)newFon t;

    newFont.setAttr ibute("kerning" , "no");
    newFont.setAttr ibute("family", "SansSerif" );
    newFont.setAttr ibute("name","S ansSerif");...
    See more | Go to post
No activity results to display
Show More
Working...