• Thursday, May 21, 2015

    Java -- Removing titlebar from JFrame.

    Syed Masoom Rizvi
    Here is a simple method for removing titlebar from JFrame:

    Before making frame visible write, where frame is JFrame:

    frame.setUndecorated(true);

    Monday, May 4, 2015

    VB6->VB.Net - PictureBox PSet and point alternative

    Syed Masoom Rizvi

    In VB6, PictureBox Control have two methods namely PSet, and point which sets the color of given pixel position or retrieve the color for same.

    But in VB.Net, PictureBox Control doesn't have these two methods. But there is an alternative and best way.

    Here, we create an image of 100 x 100 pixels in which we set the pixels.

    Dim bmp As New Bitmap(100, 100)

            For X = 0 To bmp.Width - 1