I am working on a project in which I am required to read a file and load the contents in some JComponent to show it to the users.
I was reading the file with the help of stringbuffer/filebuffer and printing in the textpane attached to a scrollbar.
I got heap dume(out of memory space) when a 21 mb file is being loaded.
To avoid this I tried with JTextArea instead of JTextpane.I got sucess but failed with 60 MB...
User Profile
Collapse
-
Which is the best JComponent to load 200 MB of data in it?
-
Apache Axis Problem
Hi
I am making server through axis tool I mean
I am using WSDL2Java.bat to create skeletons in java
Now I just want to know How can i make my server run indefinitely
and also is it necessary to call the stub class function to connect to the server
ain't there no other method.
thanks in advance -
How to read or write registry in JAVA
Hi Friends
I come up with another problem
I want to start my JAVA application whenever
any user logged into the computer
I mean at the time of windows startup.
I have tried a lot at google but couldn't find anything useful
So please help me.
Thanks in advance -
No I just used JFrame and panels in that
and by the way where is that autostart folder... -
About JFrame & One general Question
Hi
My problem is How can I make Java application always on top of other apllication
I have been googling it for so many days but couldn't find anything useful
And the second question is
How do I start my application with the windows startup.
I mean my application should start itself automatically at the time
of booting .
thanks in advance -
Thanks Jos
You got the problem
Now I used JList and the problem is Solved...Leave a comment:
-
// Copyright (c) 2007 Ericsson AB. All rights reserved.
package testpackage;
import java.awt.Color;
import java.awt.GridLa yout;
import java.awt.List;
import java.awt.event. ActionEvent;
import java.awt.event. ActionListener;
import java.awt.event. MouseAdapter;
import java.awt.event. MouseEvent;
import java.awt.event. MouseListener;
import javax.swing.JFr ame;...Leave a comment:
-
About AWT List
Hello
I am trying to attach a pop up menu in List
That is going fine
But I donno why for some area it is showing and for another it is not
Please help me. -
About creating XML file through JAVA
Hello Friends
Like We can parse xml file in java
is there any method through which we can create xml file
with the help of java coding
Thanks in advance -
Okay Now I understood
But I am sorry I donno How to change the default program to run JAR Files
Please tell me....Leave a comment:
-
Yes I have specify the main class path in Manifest file
the thing you are trying to say i m not getting it
could you be more explainable.Ple ase...Leave a comment:
-
through ant script.But I am sure that there is no problem in JAR
because when I tried to create the file for eg(c:sample.txt ) through the same application it worked
only System.out.prin tln();
has no effect when I tried to run the jar
rest all is working...Leave a comment:
-
Executable JAR File
HI
Suppose There is a HELLO WORLD Application in java
When I am running this in a command prompt it is printing the "Hello World"
in a console window
Next Time When i make the executable jar of the same application and tried to run the jar at Command prompt
Nothing happened I mean it is not printing "Hello World".
I hope you got my question if not please... -
hey
Nobody cqanhelp you from the scratch.You will have to start first and then we can help you.Leave a comment:
-
My SQL Query Error Codes
Hi
Can anybody tell me where I can find "list of error codes" occur
in this language.Please help me as soon as possible -
How do I set Cursor in the Text Field at the start itself?
i am making one program in Java Swing in which I require to set cursor in the Text Field as soon as the first screen comes? -
Layout Manager In JAVA Swing
HI
Can anybody Explain me the GridBagLayout() manager in detail.I mean How to use it.What are the differents constraints like gridx,gridy etc and how to implement them in program. -
How to get current Resolution of Window in JAVA
Hi
I want to know how to get current size or resolution of window or frame.I mean
I made a program in which i Created a frame for 800*600 window but what changes i required to run the same program in 1024*728 or any other resolution
to obtain the full frame or window -
Visual C++ File Handling
Hi
I wan to know How we can open a file of.xls extension with the help of Visual C++ coding. -
File Handling in C/C++
Hello
Can anybody tell me How to read the files from the back.I mean Is there any function or statement to perform th esame operation.Pleas e Help me out
No activity results to display
Show More
Leave a comment: