Working with DataGridView
This lesson describes how to configure and work with data in a DataGridView control. The DataGridView is typically used to display the contents of a DataTable in a DataSet. This lesson shows how to:
- Use the DataGridView control to display and update the data.
- Bind a DataGridView control to a data source.
- Configure a DataGridView to use multiple data sources.
- Manage columns in a DataGridView control.
- Format a DataGridView control by using styles.
- Format a DataGridView control by using custom painting.
- Configure the column and cell types of a DataGridView.
- Add tables and columns to a DataGridView control.
- Delete columns in a DataGridView control.
- Respond to clicks in a DataGridView control.
- Validate input with a DataGridView control.
- Change data displayed in a DataGridView control at run time.
Read more
PERSONAL ENCRYPTED TALK - SECURING INSTANT MESSAGING WITH A JAVA APPLICATION
Most users of mainstream Instant Messaging applications on the Internet don’t realize their conversations are being transmitted in clear text and are vulnerable to eavesdropping during transmission. This project report presents a solution to this problem implemented in a final project for CS699 in the spring of 2005 at Rivier College. The project was entitled Personal Encrypted Talk and its primary goal was to secure Instant Messaging communications between two parties on the Internet. Secondary objectives were Java Cryptography Architecture research and the practical experience gained by the author in the development of a scalable Java based Graphical User Interface application. This article summarizes the software engineering steps followed during the implementation of this project.
Read more
JAVA PERFORMANCE OF THE RIJNDAEL ENCRYPTION ALGORITHM ACROSS COMPILERS AND VIRTUAL MACHINES
The Rijndael encryption algorithm has recently been published as the Advanced Encryption Standard (AES), a Federal Information Processing Standard, and is being accepted by developers and designers as the algorithm of choice where encryption is required. Java is becoming the language of choice for E-Business applications, many of which require cryptography. The performance of any Java application is dependent on the compiler and virtual machine used to compile and interpret. Prior research has provided performance information for the Rijndael algorithm in Java for specific virtual machines. This research includes the development of a Rijndael implementation in Java. Using Java system calls, the performance of the Rijndael implementation is measured across fifteen compilers and fourteen virtual machines. Through analysis of these benchmarks, the Java performance of the Rijndael algorithm across compilers and virtual machines is produced.
Read more
A Graphical Grid Monitoring Tool in Java
There is a tremendous need for supercomputing in the industry as well as in academia. This has lead to a great demand in high performance computers. The main drawback of these supercomputers is their exorbitant price. Academic institutions, developing countries and small private institutions may find supercomputers prohibitively expensive. As a result of this, they are not able to reach their full potential. There is a need to provide high performance computing at affordable prices. This need gave rise to Beowulf Supercomputers.
Read more
Experience in integrating Java with C# and .NET
Java programmers cannot but be aware of the advent of C#, the .NET network environment, and a host of new supporting technologies, such as web services. Before taking the big step of moving all development to a new environment, programmers will want to know what are the advantages of C# as a language over Java, and whether the new and interesting features of C# and .NET can be incorporated into existing Java software. This paper surveys the advantages of C# and then presents and evaluates experience with connecting it to Java in a variety of ways. The First way provides evidence that Java can be linked to C# at the native code level, albeit through C++ wrappers. The second is a means for retaining the useful applet feature of Java in the serverside architecture of web services written in C#. The third is by providing a common XML-based class for the development of GUIs, which can be incorporated into Java or C#. An added advantage of this system, called Views, is that it can run independently of the resource-intensive development environment that would otherwise be needed for using C#. A major advantage of the methods described in this paper is that in all cases the Java program is not affected by the fact that it is interfacing with C#. The paper concludes that there are many common shared technologies that bring Java and C# close together, and that innovative ways of using others can open up opportunities not hitherto imagined.
Read more