omoz4real 0 Newbie Poster

Hi everyone
pls I have got two images on a JFrame which are represented by labels.one of them is generated randomly and i want to compare it to another and if they are both the same a message dialog box is shown stating that the images are the same or an action is performed such as writing a score to a disk file using the printWriter Class.pls how do i go about it .Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.