We have a pdf file. There is course exam routine displaying in the table. Our task is to search the entire pdf file according to course number and display entire row of the table at desktop application. Pdf file is
Category: Java
How to find duplicate number in Integer array in Java?
[code lang=”java”] public class DuplicateInArray { public static void main(String[] args) { System.out.println(isDuplicate(new int[]{2, 16, 9, 2, 6})); } public static boolean isDuplicate(int[] nums) { boolean status = false; Arrays.sort(nums); int i = 0; while (i < nums.length – 1)
How to find the missing number in integer array of a given range?
Check Out the example bellow: [code lang=”java”] public class MissingNumber { public static void main(String args[]) { System.out.println(Arrays.toString(getMissingNumber(new int[]{1, 2, 3, 9, 8, 11, 15, 14, 20}, 20))); } /** * * @param numbers * @param count * @return *
Java Swing Application Packaging as windows (.exe) installable file.
How to set common Menu for all JFrames and Browse Pages?

Step-1: Create 4 JFrames and those are JFrameMain, JFrameOne, JFrameTwo, JFrameThree Step-2: We shall create a ‘CommonMenu’ class and there we shall make a method ‘displayMenu’ package com.coderbd.swing; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem;