Saturday, November 22, 2014

JList: control over selection

Control over selection in list items is possible through three constants defined in ListSelectionModel.interface.
    This constant is used if we want to restrict the selection to at most one item.
    This constant is used if we want to select the items in regular way, i mean in sequential way. So we can't select item at first position  and an item at 4th position. We have to use shift key to select more then one item.
    This is the default selection mode for JList instance. In this case we can select items also with multiple interval, i.e. by pressing control key, we can do random selection of items, however both of the above is also applicable. View in details here

If want to know about how to use JList in swing application click here.

Friday, November 21, 2014

How to generate random no.

I have shown here the different ways to generate random no.
1. How to generate random no. in specified no. of digit.
2. How to generate random no. from 1 to n
3. How to generate random no. between given range
to see the answer watch here

A simple Game in java

I have made a simple game in java to demonstrate the use of random no.
This will give a flavor of game programming using java.

To know different ways to generate random no. in java Plz. read here.

JList: How to create list in java swing.

To show list of items in java swing, we have a javax.swing.JList component.
Following steps needed to create list
1. Create list of items as String array.
2. Create instance of a JPanel
3. create the object of JList by passing items array as parameter to its constructor.
4. Now add the instance of JList to panel.
5. add the panel to your frame
6. set the size and visibility of your frame.
7. Test your program.
or watch the following video that i have uploaded for easy reference.

Saturday, March 1, 2014

Study Material For Cisco Ccna Ccnp And Ccie Students


CCNA (Cisco Certified Network Associate) is an IT certification from Cisco.
CCNA certification is a first-level Cisco Career certification. CCNA certification validates the ability to install, configure, operate, and troubleshoot medium-size routed and switched networks, including implementation and verification of connections to remote sites in a WAN.
The Cisco exams have changed several times; for example, in 2013, Cisco announced an update to its certification program that "aligns certification and training curricula with evolving industry job roles." There are now several different types of Cisco-Certified Network Associate, with the original CCNA certification being re-designated as "CCNA Routing and Switching.
Study Material


The Cisco Certified Network Professional (CCNP) certification confirms your familiarity with the daily job tasks of professional network engineers who work on complex security, voice, wireless and video network solutions. Emphasizing the skills required to plan, implement, verify and troubleshoot local and wide-area enterprise networks, the initials "CCNP" after your name are more valuable now than ever.

Value of CCNP Certification to Organizations

  • Improve productivity and performance of network staff
  • Better return on investment in network infrastructure
  • Reduce costs through better maintenance and troubleshooting
  • Increase customer satisfaction through better service and support

Value of CCNP Certification to Professionals

  • Structure for continuing education and professional development
  • Range of learning products to match learning style
  • Be part of a connected community
  • Use social networking to improve job performance
Study Material


The Cisco Certified Internetwork Expert, or CCIE, is a technical certification offered by Cisco Systems. The CCIE certifies the skills required of network engineers to plan, operate and troubleshoot complex, converged network infrastructures on a wide variety of Cisco equipment.
The CCIE is described by Cisco as "the most prestigious networking certification in the industry" The CCIE certifies a very specific set of skills in the field of networking. According to Cisco, less than 3% of Cisco Certified engineers obtain CCIE certification and less than 1% of the networking professionals worldwide." and the average candidate will spend thousands of their own dollars and spend at least 18 months studying while pursuing it. Passing all the requirements of the program earns the individual a unique CCIE number assigned by Cisco.
 Study Material