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
User Profile
Collapse
-
Set Background image to JScrollPane
-
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... -
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 -
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 -
No it won't solve like that; anyway i tried :(... -
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... -
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 -
-
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!!...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)
...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)...Leave a comment:
-
-
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)... -
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,... -
hi
Yes have a package? How can i get that package and how to add it??
Madumm...Leave a comment:
-
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 -
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 ;
... -
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");...
No activity results to display
Show More
Leave a comment: