Author: harryjoy

Different button shapes in swing

Make a class that extends JButton and in its constructor write following [Following code is common for all shapes]: Round [Circular] buttons: Triangle buttons: Oval buttons: RoundRect buttons Star buttons: Just change the first argument of makeStarDesign to number of arrows you want in star and it will try to draw it for you. 🙂 … Continue reading Different button shapes in swing

Assembler in C

First of all what is an assembler? [1] [2]: “Typically a modern assembler creates object code by translating assembly instruction mnemonics into opcodes, and by resolving symbolic names for memory locations and other entities. The use of symbolic references is a key feature of assemblers, saving tedious calculations and manual address updates after program modifications.” Types of assembler: There are two types of … Continue reading Assembler in C