## Change Boot Order – Ubuntu and Windows 7

Description : So you have a dual booting (Ubuntu and Windows) system?? Here is how to change the default OS when dual booting Ubuntu (10.10) and Windows 7 Note: applicable when GRUB is default boot loader Solution: 1. Open terminal. 2. cd /boot/grub 3. sudo gedit grub.cfg(menu.lst for previous versions) 4. provide password. 5. You’ll ...

## Adding rows and columns in JTable dynamically5

Java Source code to add Row and Column in JTable dynamically package com.example; import java.awt.BorderLayout; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Vector; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.WindowConstants; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import javax.swing.table.TableColumnModel; public class JTableSample { private JFrame mainFrame ; private JTable ...

## Russian Peasant Multiplication2

Description: Russian Peasant Multiplication. This program allows one to do multiplication by just doing muliplication or division by 2 (and addition). This is interesting since computers generally use base 2 arithmetic.The algorithm is as follows. Start two rows, one with the multiplicand (say, A) and the other the multiplier (say B). The goal is to ...

## Mathematical Logic – Introduction

What is it?? It is a foundation which gives precise meaning to mathematical statements. It is the basis on which proofs and arguments rest (well, we are not referring to those court room arguments for sure. However, even those, we believe, could be expressed in terms of Mathematical Logic).   INTRODUCTION The basic building blocks ...