Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
62% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
0 Endorsements
Ranked #3K
~13.7K People Reached
PC Specs
core2duo
Favorite Tags

11 Posted Topics

Member Avatar for efxee

I am trying to read a structure from a .dat file...the first integer to be read is the no of readings, then there is the data in following structure format struct Oven { int rec_no; int temp; int status; char string[10]; }; below is the method through which I read …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for RawrInYoMouth

that is because tour random variable has values greater than your counter, try to limit your randomization to the counter

Member Avatar for IIM
0
186
Member Avatar for ckwolfe

try making a "thread" which updates and re validates your GUI with small regular intervals

Member Avatar for mKorbel
0
7K
Member Avatar for lbgladson
Member Avatar for aanders5
Member Avatar for mKorbel
0
112
Member Avatar for hendrik92
Member Avatar for johnscanlon

on the server end simply store client ports in the array. on client side use a constructor to make datagram socket. this will keep the ports of each clients fixed ... if you don't do this each time the client port will change use a thread to receive messages on …

Member Avatar for johnscanlon
0
2K
Member Avatar for harsimran05

u are type-casting a string value into integer one. try "parsing" i.e [CODE] int accountno=Integer.parseInt(mAccthld.getValueAt(tAcctHld.getSelectedRow(),0)); [/CODE]

Member Avatar for harsimran05
0
346
Member Avatar for vbengcolita

22 divide 16 = 10 modulo 23 22=160 modulo 23 :therefore 16 dividing one side goes on other side for multiplication 22=22 ...hence proved

Member Avatar for peter_budo
0
174
Member Avatar for MitchyMoo

you can save layers in the form of bufferedimage type vector. Retrive or repaint the needed layers when wanted.

Member Avatar for MitchyMoo
1
140
Member Avatar for Srin

I think this will solve your problem for making a list..... you dont have to make a list, use Graphics object for creating graphics Below is the code shown [CODE]import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import javax.swing.*; public class SampleLinePaint extends JPanel { JFrame frame; Graphics g2d; BufferedImage img; public …

Member Avatar for Srin
0
1K

The End.