Sunday, November 11, 2012

EIT the only but the most Science and Technology institute in Eritrea

Eritrea Institute of Technology

Near by the longest dim of Mai-Nefhi just south-western of the capitalcity of Eritrea Asmara and around 25 km, there is an institution of higher education that accumidates many colleges of Science and Technology plus collage of Education. This institution was the first draft for the Collages of Social Science in Adi-Qeyeh, College of  Bussiness Management in Halhale, College of Agriculture in Hamalmalo and the Others  

Monday, October 29, 2012

Consume Keyboard Events using DocumentFilter

use DocumentFilter to consume keyboard events in java JTextComponents, the structure is as follows:
  1. declare a class that extends DocumentFilter class
  2. from yout text Component instance get the AbstractDocument object
  3. set the document filter of that Abstract Document to be the instance of your class that extends the DocumentFilter
  4. using the and override the methods of the Document filter class

Hope this was sutisfuctory to your problem