4,919 Topics
![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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? | |
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? | |
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***** … | |
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 … | |
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 … | |
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 & … | |
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 … | |
| |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
A closer look at the Tkinter GUI toolkit Toplevel Window and how to lift and lower it respective to other windows. | |
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> … | |
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. | |
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? | |
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 … | |
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 … | |
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. | |
  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 … | |
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 … |
The End.