4,919 Topics

Member Avatar for
Member Avatar for vegaseat

A colorful look at the PySide GUI toolkit and its QPainter class and methods. Well commented and demonstrated with the drawing of a number of rectangles and the different ways to apply colors.

1
1K
Member Avatar for hollystyles

Test Driven Development (TDD) is the amalgam of two programming techniques: Test-First Development (TFD) and Refactoring. Looking at the first of these, TFD literally means that before you write some functional code (in whatever programming language you happen to favor) you first write a small piece of code to test …

Member Avatar for jeryraza
2
3K
Member Avatar for professor123

Hie all l have an Hp Proliant ML110 G5 and l have installed Unix ScoServer 6 but it is not giving the GUI when i press CTL+ALT+f2, so l can l in the command line configure that so that l can get the GUI for either a standard crt monitor …

Member Avatar for rubberman
0
207
Member Avatar for Octet

Hello Daniweb Members (and hopefully some SysAdmins out there), I am beginning to consider future careers, I am currently studying for my AS and A2 (GCE) exams at Sixth Form and so I need to begin thinking about either a job or further education. I have always been interested in …

Member Avatar for deceptikon
0
166
Member Avatar for pspwxp fan

Hi Daniweb, Sorry if this sounds incredibly noobish, but i was just pondering seriously upon it. If the processer can handle only one instruction at a time, how does the computer seem to be doing like a hundred things at a time? It is performing the OS functions, it is …

Member Avatar for cmps
0
102
Member Avatar for jessada.dissopa

following the article title, I'm dealing with octave, it goes right on command line. but I need to build GUI for my program to easier interface with people. then I chose Java to build GUI. my problem is to connect my GUI java to Octave. Anybody has ideas to do …

Member Avatar for stultuske
1
248
Member Avatar for Roshan92

I am creating a simulation of a virtual video player (something like a very basic version of RealPlayer or Window Media Player). All the codes given below are error free. This is the main class: VideoPlayer.java This is the video player GUI (this frame is not resizable and the X …

Member Avatar for Starstreak
0
219
Member Avatar for dr_robert

Hi there, I'm just a hobbyist teaching myself python but I am making progress with the help of "Rapid GUI Programming with Python and QT". I have written what is probably a very poorly designed programme which does just about what I want but when it's closed the process continues …

Member Avatar for dr_robert
0
1K
Member Avatar for anandschiru

I have two buttons Max and Min, if i click any one of the buttons it should show three more radio buttons called Age,Name,School, how to implement this help me out.

Member Avatar for Bachu
0
160
Member Avatar for mumaga

public void paintItems() { ArrayList inRoomItems = ((Room) scenery.getCurrentRoom()).getItemsArray(); Point origin = new Point(380, 10); int layerNumber = 50; int numberHorizontally = 0; int n=inRoomItems.size(); for(int i=0; i<n; i++){ image = new JLabel(((Item) inRoomItems.get(i)).getImageIcon()); imagePane.add(image, new Integer(layerNumber)); image.setOpaque(false); image.setBounds(origin.x, origin.y, 100, 100); origin.y += 90; numberHorizontally++; if (numberHorizontally % 3 …

Member Avatar for mumaga
0
165
Member Avatar for jealii.jealii

I have a volunteer database and having trouble with genuine password protections. I have a "delete" button with this current code under Build Event: Private Sub delete_Click() On Error GoTo Err_cmdDelete_Click DoCmd.SetWarnings False If MsgBox("Delete this VounteerRecord. Are you sure?", vbQuestion + vbYesNo + vbDefaultButton2, "Delete?") = vbYes Then DoCmd.RunCommand …

Member Avatar for Begginnerdev
0
2K
Member Avatar for ynmly

how to change image when button is clicked? my gui is consisting of three Button(NEXT,PREVIOUS,AUTO-CHANGE) and 1 Jcombobox. when you drop-down combobox list of image is shown.so i want when i clicked on "next" button image of jcombobox should be change.

Member Avatar for stultuske
0
187
Member Avatar for JamesCherrill

Hello all. I'm currrently working on a GUI that needs to support dragging some application-specific objects from a selection area onto a work area (JPanel). It's currently working in a "click where to place the object, then click the Add button" mode, but that's not good enough. The obvious approach …

Member Avatar for JamesCherrill
2
1K
Member Avatar for teckforce

I was wondering the best way to implement a square root button. Below has everything from 0-9, the four functions, and a decimal and clear function. Dim valueOne As Single Dim valueTwo As Single Dim operation As Integer Dim answer As Single Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for teckforce
0
258
Member Avatar for mumaga

Hello, I have built a GUI for the world of Zuul, the input can be taken by pressing buttons and enetering text commands. the output is both a change of images and text output using System.out.println(). When I press the directions buttons, the central image changes correctly. but the script …

Member Avatar for mumaga
0
193
Member Avatar for mumaga

Hello,,, How to make the GUI frame visible? I have looked and this is what I came up with: Interface gameInterface = new Interface(object1Instance, object2Instance, this) gameInterface.getFrame().setVisible(true); is this the way it should be? I have refrained from using a singleton class because I wanted to pass instances of other …

Member Avatar for mumaga
0
124
Member Avatar for 03hasnam

A person wishes to add a NEW Job to the database. A `Combobox` list the existing employers already in the database for the new Job to be added against. But if an employer is not present customers have the option click on a button to add an employer. Once added …

Member Avatar for DavidKroukamp
0
677
Member Avatar for ronbarak

When I try to save a pylab plot (either from the GUI or with `pylab.savefig`), I get the error at the bottom. A minimal script that demonstrates the problem is: import pylab pylab.savefig("foo.png") A Google search for `IndexError: Unexpected SeqBase<T> length` did produce some results, none of them hinting how …

0
148
Member Avatar for Blink383

I am trying to create a GUI app were the user inputs an, item name, price, and discount rate. The button should calculate the two numbers and display the discount price. I am stuck on the action listener and making it preform the action/calculation correctly. I am a pretty novice …

Member Avatar for Blink383
0
471
Member Avatar for vickim360

Hello, I have been working on a code to simulate wind turbines. However, I can't seem to rotate the wind turbine. Here is the code. import pygame ############################################# # Written by P****** ******* and V***** *** # # Copyright 2012 # ############################################# pygame.init() # Gets Information humidity = float(raw_input("Enter Humidity …

Member Avatar for Jacklittle01
0
332
Member Avatar for Osaid9

hello i'm trying to code 'Save Button' which saves all the information in a file this is what I did: private void SaveButtonActionPerformed(java.awt.event.ActionEvent evt) { java.io.File file=new java.io.File("File.txt"); try { java.io.PrintWriter output = new java.io.PrintWriter(file); output.print(this.DateObject.getText()); output.print(this.NoteObject.getText()); output.close(); } catch (FileNotFoundException ex) { System.out.println(""); } } the problem is if …

Member Avatar for tux4life
0
4K
Member Avatar for zlloyd1

This is my program so far: package allin1; import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Allin1 { JFrame frame = new JFrame(); JPanel panel = new JPanel(); JButton b1 = new JButton("Exit"); public static void main(String[] args) { panel.add(b1); //THIS IS THE PROBLEM?? } } The error I am …

Member Avatar for tux4life
0
333
Member Avatar for Osaid9

i'm trying to show date in a text field this is what I did java.util.Date date=new java.util.Date(); this.DateObject.setText(date); and its wrong... please help & thank you.

Member Avatar for JamesCherrill
0
171
Member Avatar for nytman

Dear list, i am new to python as well as new to programming with no previous programming experience, i have to design GUI in python and implement multithreading in it, and also perform multithreading at servers in query handling. I checked so many web pages and tried to learn basics …

Member Avatar for vegaseat
0
254
Member Avatar for memeDreamy

hello i'm doing a project i use visual basic 2010 i have an issue with the select case it suppose to be when you press the 2 and the 3 it gives you all the names start with (a&d) (a&e) (a&f) or (b&d) (b&e)...etc. it works fine just the error …

Member Avatar for tinstaafl
0
79
Member Avatar for Skate Bart

When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions?

Member Avatar for rishif2
0
946
Member Avatar for Skate Bart

When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions?

Member Avatar for AndreRet
0
4K
Member Avatar for vickim360

Hello. I have been having trouble with this pygame program. I am trying to imitate a wind turbine. However, when I run the command, it returns with a blank black screen with a square. What is wrong?? Here's the program: import pygame ############################################# # Written by P****** ******* and V***** …

Member Avatar for vickim360
0
243
Member Avatar for kara1990

In the application, the user makes pizza order choixes from the list boxes, and the application displays the prices. The user can choose - Pizza size of small ($7), medium ($9), Large ($11) or extra large ($14) - One of several toppings- Pineapple, mushroom, pepper, bacon or ham. - include …

Member Avatar for darkagn
0
114
Member Avatar for dumbncool

Hi All, I need your guidance for a project (using Visual Studio + MFC) I'm doing. I want to create page flipping animation of a book. There should be a book and when I click on a key then the next page should be displayed. You get the idea? Similar …

Member Avatar for anuj.juthani
0
827
Member Avatar for akasekaihime

strsql = "Update tbl_server(temp_no, tem_department, tem_position, tem_sname, tem_fname, tem_mname, tem_add, tem_telno, tem_bday, tem_b_place, tem_age, tem_cs, tem_fa_name, tem_ma_name, tem_spouse, tem_chil, tem_ptbc, tem_padd, tem_ptelno, tem_sss, tem_tin, tem_pag_ibig, tem_phil, tem_focc, tem_mocc, tem_sp_occ, tem_expected, tem_elem, tem_sec, tem_voc, tem_course, tem_post, tem_d_elem, tem_d_sec, tem_d_voc, tem_d_post, tem_coll, tem_d_coll) VALUES ('" & TextBox32.Text & "','" & ComboBox8.Text & …

Member Avatar for Reverend Jim
0
165
Member Avatar for Vish0203

I'm new to win32 application building using C. I'm using DEV C++ and I'm able to get a window, by using the "windows application" icon in DEV. I want to know how to display our text on to the window??? That'll be very helpfull! This is the readymade code generated …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for emmanuell
Member Avatar for peter_budo
0
117
Member Avatar for zakiraimanaz

hye guys, can you help me to create the name for the jPanel using the netbeans? i want to create the name for jpanel. please look at this link http://netbeans.org/kb/articles/gui-functionality.html#Exercise_2b for example. i just want to give a name same at the picture "number Addition". so how to write it. …

Member Avatar for stultuske
0
181
Member Avatar for salford6129

Okay so I have a final project due, and it's not really a beast, but I've begun to wonder if I'm doing everything I'm supposed to do, so I'm going to outline the assignment and give an overview of what I have. I was hoping I could get a couple …

Member Avatar for salford6129
0
149
Member Avatar for TheBrick

Hello all, A simple problem for anyone who know Qt, I'm very new to Qt and GUI programming in general. I’m on a linux platform and using Qtcreator. I have a window (see [here](http://1.bp.blogspot.com/-QM3EiY3oh5Q/UMeo8rb4fUI/AAAAAAAAAWY/tWPLdEl6OgM/s320/box.png) for a screen shot). I wish to have two "sub regions" (incorrect terminology I’m sure) within …

Member Avatar for TheBrick
0
241
Member Avatar for ocw91

I having a serious problem here. This is the code i wrote and i have yet run it because too many errors. I tried minimize the errors. Anyone can help me? As for now even the simple looping also shows error. If you found any other mistake, feel free to …

Member Avatar for stultuske
-1
200
Member Avatar for nickecarlo

I have this program where when I click start, it starts painting rectangles one on top of the other by storing each rectangle created by paintComponent in an array and then displaying them on the screen. When I click stop, the animation stops. This is all fine and dandy but …

Member Avatar for JamesCherrill
0
2K
Member Avatar for cookiejarvus

So the mission here is to have all the user input data to display to the display panel. I was able to achieve this, however instead of the info display after I click the display button the info will display after clicking on any of the radio button options. Im …

Member Avatar for stultuske
0
199
Member Avatar for MMadhavi

I want to show google map of selected theatre. first user have to select city then they have to choose theatre as per selected city. i have used drop down box for both. then, after selecting theatre, when he clicks on show button i want to show google map of …

Member Avatar for MMadhavi
0
1K
Member Avatar for cyberdaemon

Good day, I want to use N-TIER for my application.I have DAL and BAL already, since i have that 2 project already. am missing 1 project which is the UI.so i created my UI project. Since am excited to test my simple n-tier i created a simple GUI using gridview …

Member Avatar for cyberdaemon
0
133
Member Avatar for vegaseat

A closer look at the Tkinter GUI toolkit Toplevel Window and how to lift and lower it respective to other windows.

0
6K
Member Avatar for abby.delacruz.927

Guys help me with this code. I don't know what to do. I have 2 div the 1st is in the left and it has a button and on the other div is to show/display when I click the button on the 1st div. <html>// this is my index.html <head><title> …

Member Avatar for JorgeM
0
318
Member Avatar for rahulrulez

Hello, I've created a Button in one form. I've to make it work like, if I click on that button it should open another JFrame Form or JPanel form which I've created as addStock.java.. I don't know how to trigger this action.. Anyone can help me? Regards, Rahul.

Member Avatar for stultuske
0
1K
Member Avatar for silvercats

http://www.amazon.com/Primer-Plus-6th-Developers-Library/dp/0321776402/ref=sr_1_2?s=books&ie=UTF8&qid=1354763661&sr=1-2&keywords=c%2B%2B+primer http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=sr_1_1?s=books&ie=UTF8&qid=1354763739&sr=1-1&keywords=accelerate+c%2B%2B http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/0321714113/ref=sr_1_1?ie=UTF8&qid=1354763774&sr=8-1&keywords=c%2B%2B+primer Beginner's guid. I am new to programming. about 3 months experience. maybe 2. I hope to develop applications for widnows later.(not GUI). mostly system software. what is the best boook?

Member Avatar for yxBen
0
1K
Member Avatar for wannafzan

This is my assignment. I've done it 36 hours straight and I can't think properly so my program looks like kindergarden kid's program. Basically, we have to do a GUI for Pizza ordering. Everything works except for the amount. The output for amount is "0.00". I have to send it …

Member Avatar for wannafzan
0
2K
Member Avatar for nah094020

Ok final project of semester is to make a maze with gui , i started with the disjoint class already but am a bit confused on how the walls or cells will work with disjoint sets, has in how do i go about creating them will this work? , my …

Member Avatar for JamesCherrill
0
683
Member Avatar for vegaseat

An approach to create multiple GUI buttons (or other widgets) using list comprehension. In this case I used the Tkinter GUI toolkit that comes with the Python installation.

Member Avatar for Ene Uran
2
484
Member Avatar for Zubenna

![GUI](/attachments/large/4/GUI.jpg "GUI") ![GUI](/attachments/large/4/GUI.jpg "GUI") My name is Nnamdi. I am a new member in this forum. I am learning Java programming and how to develop Java GUI application. In my learning process, I have encountered the challenge stated below. My question: I am writing an application to properly align the …

Member Avatar for Zubenna
0
878
Member Avatar for ian.murray.33821

hi, im using microsoft visual studio to make a game the game consists of a random number generator which ive completed and is working fine, when it generates a 7 a message tells you that you have a lucky seven, you get five goes at this then a message tells …

Member Avatar for ian.murray.33821
0
215

The End.