Tags » Programming

Why WordPress?

There are so many features why I decided to start a blog with WordPress. My goal is doing a Website where I can promote myself as Software Engineer in the future. 164 more words

Programming

JColorChooser: hide all default panels and show RGB and Swatches panels only

If you want to delete panels you can follow this approach Here I’m removing all the other panels except Swatches and RGB,

AbstractColorChooserPanel[] panels=colorChooser.getChooserPanels();
        for(AbstractColorChooserPanel p:panels){
            String displayName=p.getDisplayName();
            switch (displayName) {
                case "HSV":
                    colorChooser.removeChooserPanel(p);
                    break;
                case "HSL":
                    colorChooser.removeChooserPanel(p);
                    break;
                case "CMYK":
                    colorChooser.removeChooserPanel(p);
                    break;
            }
Programming

Center your JFrame

To center your JFrame use this code,

frame.setLocationRelativeTo(null);

Programming

New terms from treehouse – Javascript Foundations Part 1 - Variables and Strings

Variables

Basics

Variables allow us to store and retrieve data in our programs. Since JS is dynamically typed, when we create a variable we just need to give it a variable and a name.  3,141 more words

Memory Solutions with Python's __slots__

I have nothing new to add to this so here are two excellent references for using Python’s __slots__ funtionality

Programming

5 BEST WEBSITE TO LEARNING PROGRAMMING WITHOUT INVESTING MONEY.

Currently anyone can learn programming easily without even paying for it. So, If you also have a dream to be a great programmer like Bill Gates and our very own facebook owner Mark Zuckerberg then this article will be helping you a lot. 670 more words

How To

Unity3D EditorGUI Multiple Foldout without Array

Sometimes you need to use folders to make your EditorScript very fast to use at sight. In this example I will show how to set multiple folders without using an array of booleans. 1,048 more words

Programming