4,919 Topics

Member Avatar for
Member Avatar for khess

Back in October '08, I wrote "[URL="http://www.daniweb.com/blogs/entry3288.html"]5 Things I Wish Linux Had[/URL]" but never realized that it would inspire the heated debate (Read the comments) that it did. I also didn't realize that it would inspire an actual operating system. One of my readers commented briefly that he would take …

Member Avatar for dandart
0
333
Member Avatar for UrbanKhoja

Evening / Morning all! Been a while I know, but I finally got round to installing my copy of Windows 7. Yes I'll openly admit there may have been a slight climax (like a small child at christmas), but having installed Microsofts latest offering I'm left wondering if I've just …

Member Avatar for UrbanKhoja
0
142
Member Avatar for khess

This week my crystal ball tells me that Linux is due for a major makeover and not just another pretty theme: A real makeover. It's time for Linux developers to stop following the Windows and Mac Desktop deveopers and get creative on their own. I understand the argument against this …

Member Avatar for de_wizze
0
194
Member Avatar for EddieC

Add one to the [URL=http://www.testingfaqs.org/t-static.html] list of static analysis tools[/URL] available for scanning source code for bugs, errors and departures from programming best practices. And this one’s for Mac OS X. GrammaTech yesterday began shipping CodeSonar 3.1 Enterprise, a version of its GUI-based analysis tool that it claims finds defects …

0
189
Member Avatar for EddieC

It’s like TiVo for Java EE apps. At least, that’s what Replay Solutions says about [URL=http://www.replaysolutions.com/technology/replay-director-java.php]ReplayDirector for Java EE[/URL], which began shipping today. According to claims, it’s unlike other software playback/record products because it virtualizes the execution environment and records not only code, but also program inputs, database transactions and …

1
223
Member Avatar for John A

Yesterday, [URL="http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19660"]an email was sent[/URL] to the OpenOffice developers that proclaimed the development of a new version of OpenOffice -- one that's going to be available via the web. Using a technology that's been in development for 3 years already, Gravity Zoo Framework, a special programming library aimed at online …

Member Avatar for jwenting
0
228
Member Avatar for John A

Why doesn't everyone switch to Linux? Is it because it's too difficult? Not exactly. The problem with Linux isn't because you have to run millions of commands to start it up, it's because it gives users too many options. Commercial companies like Microsoft standardize their product when they create it. …

Member Avatar for Toba
0
229
Member Avatar for happygeek

I guess when you are a billionaire, finding somewhere new and exciting to go on vacation gets difficult after a while. No such problem for Charles Simonyi, who as part of the original Xerox PARC team helped developed the mouse, the GUI and even laser printing, and went on to …

Member Avatar for happygeek
0
152
Member Avatar for happygeek

I’ve just returned from the [URL="http://www.symantec.com"]Symantec [/URL]Threat Response Center in Dublin, Ireland where a select handful of European security software reviewers witnessed the first public demonstration of Norton Confidential: the Symantec response to what it refers to as the CrimeWare explosion. Symantec acquired anti-phishing specialist [URL="http://www.wholesecurity.com"]WholeSecurity [/URL]towards the end of …

Member Avatar for happygeek
0
215
Member Avatar for kc0arf

A couple years ago, RedHat Linux was a completely open-source, freely-available linux solution that brought linux to the masses. Then, RedHat changed the paradigm: they wanted to transform RHL to a corporate supported linux, and enjoined with the Fedora Project for community support. But now a choice had to be …

Member Avatar for chrisranjana
0
337
Member Avatar for vegaseat

Here is an example how to write a program to convert between units of distance, area, volume, weight, pressure, and energy. The wxPython GUI toolkit's wx.NoteBook() widget is used to make good use of the limited frame/window space available.

3
184
Member Avatar for teddies

Hey guys. I originally wrote this program as a University assignment. It's basically a simulated game of 'tanks' roaming around a grid blowing eachother up. It isn't intended to be the most exciting game in the universe, infact when you look at the programs' output there will just be a …

Member Avatar for Murtan
0
330
Member Avatar for vegaseat

This short Python snippet shows you how to read mouse wheel events with the Tkinter GUI toolkit. Windows and Linux have different bindings and read different events, but can be included in the same program code for use with either operating system.

0
21K
Member Avatar for vegaseat

Using count() from Python's itertools module and the Tkinter GUI toolkit's after() function, you can create a simple counter that counts up the seconds until the Stop button is pressed.

1
3K
Member Avatar for vegaseat

The wxPython GUI toolkit has a number of calendar widgets, but the one that is most customizable is the wx.lib.calendar widget. Here we expanded it to colour the weekends and the holidays supplied by a dictionary of 'month: list of holiday dates in month' pairs. Since some holiday dates can …

0
2K
Member Avatar for bumsfeld

The wxPython GUI toolkit has a nice numeric LED widget (LEDNumberCtrl from the wx.gizmos module) that is used here for displaying the current time in very visible 7 segment LED color display. It also shows the application of the time module and wx.Timer(). The code is simple as far as …

0
2K
Member Avatar for Arman Majumder

A program that compounds interest [FONT=&quot]continuously [/FONT]to a specified premium, rate, and number of years. Displays the total work up in the GUI panel in a tree form.

0
178
Member Avatar for Arman Majumder

A simple program that displays the Muller-Lyer Illusion. Also tests the ability to draw simple figures using the Paint Component function.

0
1K
Member Avatar for Arman Majumder

A GUI form of the Game of Craps. Takes in total bank roll and bet for each round of the game. *Two seperate programs, Craps and CrapsData(Craps Class)*

0
1K
Member Avatar for Arman Majumder

A very simple program, which displays the coordinate points for the center point of the panel. Automatically updates the (X,Y) form coordinates with size modification.

0
731
Member Avatar for Arman Majumder

A red circle moves back and forth horizontally, when clicked (with a mouse) the circle halts motion and the background colour changes randomly, if clicked again the circle resumes it's motion and changes the background colour randomly. This loop continues until the user exits the program. *Two separate programs[FONT=&quot][/FONT], CirclePanel …

Member Avatar for cUtEAkew
0
1K
Member Avatar for Arman Majumder

A fixed Checkerboard board, which tests multiple panels each with alternating colors (Red and Black). Input the dimensions to output the board.

0
1K
Member Avatar for Arman Majumder

A simple GUI that tests the GridLayout function, multiple panels, and different coloured panels.

0
301
Member Avatar for Ene Uran

This simple Python code uses the Tkinter GUI toolkit and the Python Image Library (PIL) to create a program that allows you to grab an image of the display screen (or portion of it) and save it to an image file. Unfortunately, the ImageGrab.grab() method only works on a Windows …

Member Avatar for AndyGman
1
3K
Member Avatar for vegaseat

There are times when you have to layout widgets on a window area fairly well spaced apart. To do this with pack() or grid() will be more than frustrating, for these occasions place() with its absolute coordinates comes to the rescue. Here is some Python/Tkinter GUI code showing you how …

1
619
Member Avatar for Lardmeister

I could not resist to put this little utility into a GUI dress. The code shows you that the C# StringBuilder is nicely suited to create the binary string. Also included is a check to assure that the input is an all digit numeric string.

Member Avatar for Lardmeister
0
380
Member Avatar for Lardmeister

Here I made a GUI template with a Form, Button and Listbox using MS VCS 2003. MS VCS 2003 still produces a single file usable as a templet, whereas MS VCS 2005 smears files all over the map. Must be some marketing persons idea of market dominance. I took the …

Member Avatar for vegaseat
0
457
Member Avatar for Lardmeister

A simple C# program showing you how easy it is to create a basic Windows GUI program which will display the results of a factorial number calculator.

Member Avatar for Lardmeister
0
214
Member Avatar for Ene Uran

The small images you put on buttons and such are nice, but a real pain if you have to attach all those image files to your program. Python's base64 encoding module makes it easy to convert the binary image code to a string that you can simply make part of …

Member Avatar for vegaseat
0
2K
Member Avatar for vegaseat

Here is an example of a random spin button using a button surrounded by labels to create the feeling of a spin animation. This example uses the Tkinter GUI and lets you select numbers 1 to 6. If your game requires more then this, just add additional labels. You are …

Member Avatar for Bill Fisher
0
606
Member Avatar for vegaseat

This little snippet combines a Tkinter GUI application with sound from the pygame mixer. The snippet should do fairly well across platforms. I tested it on a Windows XP machine, but let me know your experience with other platforms.

0
453
Member Avatar for bumsfeld

The wxPython GUI tool makes it very simple to create nice looking analog clock. The analog clock component was put into simple dialog frame and can be moved about the screen.

0
729
Member Avatar for vegaseat

There are situations in Python code when a function is used as an object rather then a function call. Handling arguments becomes a mild problem, that can easily be handled by wrapping the function object and its arguments. One common way is the use of a curry function or class. …

1
208
Member Avatar for vegaseat

Using a wxPython GUI program to find the position of the mouse when clicked within the frame/window. Also sets the color of the frame and changes the cursor to a pencil. The title bar of the frame displays the coordinates of the mouse position.

1
2K
Member Avatar for G-Do

Here's a cute little encipher/decipher program with a Tkinter GUI I wrote a while back. It's an implementation of a derivative of the Vigenere algorithm; the algorithm is taken from Laurence Smith's Cryptography: The Science of Secret Writing, Amazon link here. It's a dated book (and the technique itself is …

0
258
Member Avatar for vegaseat

Did you ever want to know how how many square inches are in a square meter? This short Python code allows you to get the answer. It uses a dictionary to simplify the conversions. Could be the start of a nice GUI program using radio buttons.

Member Avatar for vegaseat
2
3K
Member Avatar for vegaseat

Jumping through a few extra hoops allows you to display the common image format jpeg on a panel of the wxPython GUI window. All you need to do is to read in the image file as a binary, convert to a byte stream image and then to a bitmap. Now …

Member Avatar for Erik Vandamme
0
3K
Member Avatar for vegaseat

While the calculation of the total resistance of two resistors in parallel is simple, this code shows you how to trap a number of potential errors that come with the entry of the required data. All is wrapped easily into a colorful GUI program, due to the simplicity of the …

2
3K
Member Avatar for vegaseat

This is another GUI program using the Tkinter module. It shows you how to change the background and foreground color of a component/widget. In this case it is a button. The button itself is used to toggle the color selection via a color dialog box. Enough comments have been added …

0
905
Member Avatar for vegaseat

Python's Tkinter module can be used to create a Graphics User Interface (GUI). This sample code creates a windows type form and positions a label and a canvas on the form. A simple shape is drawn on the canvas.

0
243
Member Avatar for vegaseat

The wxPython library allows Python to create Windows GUI programs. Here is a look at the listbox component. Click a button to load the listbox with names, select the name by clicking on it on the list, and display it in the title bar of the window frame. Another button …

Member Avatar for vegaseat
2
3K
Member Avatar for vegaseat

I look at BCX-basic as a modernized qbasic. This simple code creates a Windows GUI program that plays a midi instrumental music file. To keep it simple, the file it looks for is "TheRose.mid" file. If you don't have this file, you have the option of editing the code, or …

Member Avatar for billzilla
0
222
Member Avatar for vegaseat

Using wxPython and the Boa Constructor, a VB/Delphi like IDE and Visual Builder, this little calculator was a breeze to make. Boa did 90% of the code generation, and I simply added code to each button click event to make the calculations work. I wish every project would go that …

Member Avatar for vegaseat
1
486
Member Avatar for vegaseat

This shows you how to create a Windows GUI program in BCX basic and embed the Media Player in the form. It will give you a fully functional player with a 30k executable size for your MP3 files. The needed header files and library files are included in the BCX …

0
236
Member Avatar for 1o0oBhP

An introduction to the Win32 GUI. The code creates a simple window that you can play with. Many parameters can be changed if you like! The unusual thing about windows apps is that rather than directly handling inputs (ie the position of the mouse / what control has focus ect...) …

Member Avatar for bumsfeld
0
632
Member Avatar for vegaseat

What is so easy to do in HTML gets quite involved in C. Once you learn to look past the standard GUI overhead it becomes more obvious. This example shows the effect of the mouse cursor moving across a label by changing foreground and background colors.

0
219
Member Avatar for vegaseat

This program shows how to display a JPEG (also GIF,BMP,WMF etc.) image using some Windows Graphical User Interface C code. The program uses the uuid.lib file that comes with many C compilers.

Member Avatar for ashutosh_singh
2
1K
Member Avatar for vegaseat

This snippet shows how to draw a red circle on a Windows form. Original code via BCX, modified to compile with Dev C++. The GUI code looks a little complex. Gets simpler, once you get past the required overhead. For those who need some hand holding with the Dev C++ …

0
2K
Member Avatar for Dani

The JOptionPane class is used to give the CompMortgage.java program a front-end GUI interface. The class is divided into numerous functions.

Member Avatar for diamonddog
0
181
Member Avatar for rrspen316

I am having an issue with my program. If I select one of the three calc buttons it works fine and shows the amort table correctly. If I put information in the text fields for amount, interest, and years and hit calculate button I get little boxes in the amort …

Member Avatar for VernonDozier
0
226

The End.