Thanxx.....@Banafshe..'
It worked...'
Type: Posts; User: suyog53
Thanxx.....@Banafshe..'
It worked...'
@Banafshe....Thanx....it solved to some extent...'
Now, i dont get error...'
'
But instead of pronting "z"...it prints "祺"(some chinese character)'
'
Output...
祺
BUILD SUCCESSFUL (total...
I have a text file named "abcd.txt"
It contains data as "abcdefghijklmnopqrstuvwxyz"
'
So....i need to print the last byte of a file . . that is "z" after program execution'
I just tried to read...
Hi...............'
@Zaki'
--------------------------------------------------------------------------------------------
You have done 2 mistakes..................'
First, you did not initialize...
passing value from static is congested...'
why don't you create a method include all the variables in it....'
then access them into other class by referencing that method'
How can i call method and return icon?'
How to make Jlabel text blink using timer?'
After calling Event of 'Save' button......File is saved and JLabel is set with text as "File Saved Successfully"'
'
But for making it more attractive,...
Is this your full code?'
I have created a project in netbeans'
It has a main file (input_image.java).
Using JFileChooser, it browses for an image file on computer, and displays it on the frame.....'
'
I want, whenever...
I have created a project in netbeans'
It has a main file (input_image.java).
Using JFileChooser, it browses for an image file on computer, and displays it on the frame.....'
'
I want, whenever...
Read your data of file into string'
Split them when '\' occurs...ans store them serially in array..........'
Then, put [0]--> Red, [1]-->Green, [2]-->Blue, [3]-->Red...and so on...'
Hope this can help you....:cool:'
Plz do reply again if problem persists....%-('
'
...remove by moderator
'
What is the problem....?'
The program runs correctly in my System...'
@jps...sorry for not posting the contents of log file...'
It says...
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at...
Is there any book which explains all the functions in JAVA and Swing in details with examples to understand....?'
I have created a project in Netbeans using swing components...'
Multiple frames are displayed one after another as the project runs...'
'
But most frequently, somewhere in the middle, when I press...
So. you look quite happy now....'
You can also try to reduce no. of lines of code.....which helps to run your program little faster....'
(I read it somewhere while Googling)'
Declare all variables...
Also in line 14, 17 and 20, replace scan with scan1, scan2, scan3 respectively.'
Java is case sensitive. . .'
Your code contains nextint() and nextdouble() . . .'
Replace them with nextInt() and nextDouble(). . .'
('I' and 'D' are capital)'
I created complete project in netbeans'
After 'Clean and build', I tried to execute XXX.jar file through command prompt...'
It executed correctly'
But...when I tried to open it directly...
@helloworld'
thanx......................'
How to convert String array to Integer array...?'
Sorry for late informing...'
My post on Other forums....'
Conversion of any image file to text file in Java...'
java - Creating Image from Pixel Values - Stack Overflow
During conversion of image to text, simply pixel values are written to plain text file by using getRGB() function'
But during reverse, i created the group of 4 pixel values(255 123 132 064)
and...
@ Norm.....yes...but no idea how to put above pixels in them...'