3,671 Topics
Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …
Hi, I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible? …
This is a program for generating a state table for flip flop circuits. My problem is that the program does not get anything from the Textfield which gets the value for KAEquation, but for JAEquation, it works just fine. [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; /** * @author Jenielle …
Hey all, This isn't so much a question as a heads up... After using python for a few years (mainly doing blender scripts and random console/command-line apps and tools) I've recently started looking into doing some GUI based stuff using wxPython. I've had a look at a few of the …
Design a drawing application (have a look at Microsoft Paint application on your Windows system). The application must have menus, and must be able to draw one or more sharps (e. g. point, line, rectangle, oval, etc). The application should use GUI components.
hello to every one im making a GUI in labview and i want to take serial data in labview im new in labview so plz help me thanks for replyng
Hi there, i am trying to implement thread injection from my windows forms .NET project. Here is the code which works just fine from simple console app or Gtk+ gui application, but unfortunately not from .NET gui app. [CODE]#define NtCurrentThread() ((HANDLE) -2) #define NtCurrentProcess() ((HANDLE) -1) typedef DWORD (WINAPI *Rm_MessageBoxA)(HWND …
Hi i am using netbeans to make a tictactoe game so far this is my code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TicTacToe implements ActionListener { //Class constants private static final int WINDOW_WIDTH = 400; private static final int WINDOW_HEIGHT = 400; private static final int TEXT_WIDTH = …
Alright I have created an object, its a simple object. Basically just textfields and a combobox. I have them all in a gridbag layout with weightx and weight y set to one so that they fill out the panel I place them on. [B][U]Question 1:[/U][/B] What I'm wanting to do …
I have two form. Form 1 and Form 2 In form 1, i have a few textbox and and combo box. and BTNOk [to save] and BTNCancel[when BTNCancel is click, user are prompt whether to save file if there is changes in entry] Form 2 is the file where BTNCancel …
A program that creates a grid panel of desired [FONT="]dimensions [/FONT]and changes the colour randomly of each grid box upon dragging the mouse over the selected region.
This is really frustrating. Whenever I run this, a blank window frame appears The components only appear when I click the edge of the frame. Please check if I did something wrong: [CODE] import javax.swing.*; import java.awt.*; /** * */ public class FFGen{ public void First(){ /** * @param args …
Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main …
Hello eyeryone, I am wrking on a project which deals with building avionic GUI like metres,gauges etc.. i was not able to create the exact look and feel using the java swing standard libraries, please tell me any other alternative for creating such GUIs like[B] activex[/B] and wheather i can …
I am trying to create an inventory GUI display for scool. I have this GUI class as part of a 4 class program. For some reason I thought that the last lines created buttons yet this program lacks them. I also hav problems having my main call the GUI to …
Hey All, This is my first post here. I'm a complete newbie when it comes to ASP.NET. I'm trying to create a simple "Registration Page". I'm not using Visual Studio's inbuilt "Create New User Wizard". My Registration page has the following controls: 1 Textbox for the user name, 2 text …
Hi Ive been working with PHP, AS3 and some javascript for a while now, and want to move into something that allows me to develop desktop apps... I considered Java, but have become used to PHP's loose typing or whatever the technical name is, and so after some investigation Python …
Okee here my problem When i create a button in the designer , i got options in the properties window for putting a Image in the button and even a ImageAlign But i want to change the image at runtime I looked at the button members , but i cant …
Hi folks, I ready on one of the SEO blogs that fter five years, Google has finally owned the patent to the design of its home page. So anyone who tries to copy its design will face patent infringement from Google. The patent refers to whole Google Home Page as …
hello, I'm a beginner and I'm trying to create a mortgage GUI and I'm having some trouble trying to figure out why the variables in my ActionListener are not read. can someone assist? here is my code: import java.awt.Container; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import …
Hello everyone, I am an Intern at a company and I mainly create scripts to update databases. I don't have the opportunity to do much "real" programming, hence the reason I am begging for some help :p I am working in visual studio and my program runs great. There is …
please can anyone help me doing this example. Add to the text editor's GUI a menu that lists these font sizes: 12, 14, and 16. When the user selects one of the sizes from the menu, the text displayed in the text area changes to the selected size. SNIP
Hi, I'm trying to print a string on the center of a window using GridBagLayout. All I see printed is a part of the string I expect (the current month) instead of the whole string. I don't seem to be able to spot where the error is and I'd appreciate …
Hi All, I teach java to 2nd year students who are doing a very basic module on GUI and applets, without any animation etc. I need to give the class an individual mini project. Please could people suggest possible project ideas for a 2nd year CS. The syllabus does not …
I have recently learnt the basics of c++ but I want to advance to making proper GUI's (and games) but I don't know what to use. I think the two most popular libraries are OpenGL and Direct3d but I'm not sure which one to use. could you guide me in …
Hello all, I want to start using openCV, but I've noticed that some elements in GUI are missing (TextBox, Label etc.). I was wondering where to look for those missing elements (assuming openCV does not supply them), and whether I can integrate them to openCV, since it'll make my life …
I have a general question about threads prompted by something strange I'm seeing in an application I developed involving ODBC access to Microsoft Access and SQL Server databases. Let me present the context of the problem first. I have been developing some tutorials on ODBC database access in two different …
We have seen websites using Flash, very cool Menus, slides and much more. How to do this in C++. I am making a Contact Book. I want to create eye chating cool look GUI for it's front end. I have made a class named ContactManager this class get contact information …
Hi there all I would like some help with my client and server program that uses gui to chat with each other. The program works fine the first time but somehow when i try to send a second message nothing gets displayed and the person object is empty. I dont …
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 …
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 …
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 …
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. …
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 …
Hey, Here is a program I made which has interested quite a lot of people over the past few weeks, so I figured I would share it :) Using a small amount of trigonometry you can create some very fascinating shapes and effects. But in order to draw anything you …
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.
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.
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 …
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 …
A program that compounds interest [FONT="]continuously [/FONT]to a specified premium, rate, and number of years. Displays the total work up in the GUI panel in a tree form.
A simple program that displays the Muller-Lyer Illusion. Also tests the ability to draw simple figures using the Paint Component function.
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)*
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.
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="][/FONT], CirclePanel …
A fixed Checkerboard board, which tests multiple panels each with alternating colors (Red and Black). Input the dimensions to output the board.
A simple GUI that tests the GridLayout function, multiple panels, and different coloured panels.
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 …
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.
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 …
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.
The End.