4,919 Topics
![]() | |
Hi all, I'm doing a elevator simulation project but i met some issues. First, I wish to align my buttons on the left to the horizontal lines. I tried to setting setMinimumSize, setMaximumSize, setPreferredSize but it didn't help. Second, if I re-size the window, the buttons on the left seems … | |
So I've finally fixed up the functionality of an address book I've been writing (not on to utilizing a GUI yet of course though.)However to save or reclaim the data from the last use of the address book I, obviously, need to write and reclaim it from a .txt file, … | |
'Ello again, I have a question about C++ GUI's, with Code::Blocks as my IDE. Whenever I make a basic GUI with the Win32 API, it always creates a console _and_ the GUI (as shown in the picture attached). I was wondering how to only create the GUI, or at least … | |
[url]http://i.stack.imgur.com/pv7Ho.png[/url] this is the menu im trying to build now im confused and cant figure out how to make it. one div (blue arrow) needs negative margin to get outside the box, another div for blue button background and inside the button two another divs or spans for the text … | |
Hi. I am working on improvement of my program. Here is it's code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) drink= wx.Button(panel,label='Drink',pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.drink, drink) self.Bind(wx.EVT_BUTTON, self.food, food) def food(self, event): box = wx.TextEntryDialog(None, 'What is … | |
Can somebody please show me what the rest of this code should look like. I have about 90% of it so far. I have the GUI, but need help with the rest. Here is the Link to my code and the question to the problem is below. I thought it … | |
[CODE]private void getPreviousButtonActionPerformed(java.awt.event.ActionEvent evt) { List<Tweet> listOfTweets = remoteBean.getMoreTweets(5); StringBuilder displayStringBuilder = new StringBuilder(); if(listOfTweets != null) { for (Tweet tweet : listOfTweet) { displayStringBuilder.append(tweet.toString() + "\n"); } textArea.setText(displayStringBuilder.toString()); } } [/CODE] As it stands when i run the code that this method is in and enter a number of … | |
![]() | Hey guys, I've been fiddling around with Tkinter for a bit and can't for the love of me figure out why this code won't work. I'm making a GUI that outputs the price of a product depending on what buttons the user pressed. I have three calculations that revolve around … |
I m developing a java app that will have a GUI to draw the graph and implements the graph coloring algorithm to colour the nodes. I started with JFrame and Canvas and could draw lines and circles with paint() and repaint methods.. The problem is repaint method erases the previous … | |
Hi. I am having a problem in creating of one simple program in Python. Here is code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) pets = wx.Button(panel, label='Pets', pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.food, food ) def food(self, event): … | |
i wanted to create a gui java program that reads info from MySql then output it in a JTable. but i first tried to use the JTable because it was my first time to use it. It worked perfectly but when i tried to read from the database it doesn't … | |
Hey guys! I need help... I have a text field and table that I made on NetBeans. I'm working on GUI. Anyway, in this text field, the user inputs his/her name. And the user's name is displayed on the "User 1" heading of the table: [code] jTable1.setModel(new javax.swing.table.DefaultTableModel( new Object … | |
Hi guys, what im trying to do is have a transfer function so that say for example i can transfer $100 from Johns account to Jacks account. Below is the code for the AtmDataFile Class and the ATMTransfer class.I would greatly appreciate some help on this project =). [CODE]import java.io.*; … | |
The Java code I am writing is required to have the first, next, previous, and last buttons, and my program still needs to sort. I believe there is something wrong in my codes for each button. I currently have this (of course with each "" for each button. Any ideas … | |
I am having some issues with my Inventory Program and could use some help. I had the program working last night where my GUI would display the correct categories but today when I tried to get the restocking fee to add in to the value, I seemed to have messed … | |
I am over my head in my current class and could use help or pointers changing the program I have written. It is a mortgage calculator and I have to modify it. My class texts seem over my head and I have to drive 20 minutes and use public internet … | |
I have a java gui app which will be used by various secondary schools. I'm actually in the process of adding some "activation/serial code" before someome can use the program(they need to pay for it). I'm thinking of using an online mysql from a remote server to store and check … | |
Hi everyone... My boyfriend's birthday is on Saturday, August 13...and i wanted to do something really different this time...since we are 1,000 miles apart...i was thinking if i could write a program which would generate random messages which I would already have written in the code... i was thinking of … | |
My "[URL="http://www.daniweb.com/news/story229382.html"]10 Best Linux Distributions of 2009[/URL]" list drew a bit of disdain from some of my readers, so I thought I'd make it up to them by posting a list of Linux distributions that [I]they[/I] like to use. Since I have no way of knowing which of these distributions … | |
This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; … | |
I've created a simple card game using C++ for learning purposes . The game is very similer to crazyeights. The Game development is done but i want to write a GUI for it . Can any one suggest me an easy to learn and protable Library for Card Gaming Purpose … | |
I need to know how I can set up a action listener for an array of buttons. I am trying to make a tic tac toe game. I am new to programming. I have seen someone on here ask a similar question but I could not grasp what they where … | |
I want to create my own widget toolkit, and I know it's possible without external tools(QT was written in C++, and so was wxWidgets). But I don't know how to do it, and I couldn't find anything in Google. So how exactly do I create GUIs in C++ that way? … | |
Hey folks. I hope you can all help me. Basically, I'm designing a small GUI Windows program that allow staff at a cinema to reserve seats for customers. There will be a total of 60 seats in the cinema. I have two classes in my program:- 1.) MainForm.vb - used … | |
Hi, I'm new in this forum and I'm here to ask help on a topic the lecture I didn't turn up. I'm new to creating a search function for my Java application where the user can view the information of the books, such as title, author and the price of … | |
Hello! My question concerns software architects that have experience with UML/UTP. [U]Introduction:[/U] We are currently in the start phase of a new project, where documentation for hardware with embedded software is written. I am responsible for the GUI development. As the starting point, a predecessor model is used. Its GUI … | |
hi... am develop simulator project...using java (java run time environment) for that can use applet method or java gui frame method.. suggest me.. | |
Here is my code. my problem now is how to convert it to GUI. [CODE]public class ProductController extends ProductModel{ public String getPname(int barCode){ return this.pname(barCode); } public double getPrice(int barCode) { return this.price(barCode); } public void displayCartControl( int retryTrigger ){ this.displayShoppingCart(retryTrigger); } } [/CODE] [CODE]public class ProductModel { public static … | |
can understand .... bt how culd u make gui in c++... ?? | |
So I'm creating a backup GUI in Python which basically asks the user for their username/password and source directory so it can be rsynced over to a remote server. The only trouble I'm coming across is passing the password (entered in the GUI) to the server after I execute the … | |
I have created a simple gui using a windows form, which consists of some checkboxes, radiobuttons and textboxes. I also have my logic code which consists of several switch case statement and I want to know how to put my logic code into the gui I have created. Does anyone … | |
Hi I am in a java class and am working on a mortgage calculator with gui. I think I almost am done and have the assignment parameters completed but am stuck on two issues. 1) can't get my scroll pane to work. 2) I want to have the user select … | |
Hi I wasn't sure if this was the right section or not How is a GUI implemented in modern operating system. Currently I use win32 code to generate a window and then use openGl with C++ to generate the application. How is explorer.exe (the windows interface) designed and built. Does … | |
Currently, I'm typing from a laptop. (I'm no use with computers and I can't suss this out myself, and without any internet usage - albeit short bursts that I get - I have to use a laptop. I don't have any way of transferring items over from the laptop to … | |
Is there a GUI Builder for Code::Blocks, something like BOA for Python? Greetings, Emir | |
Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you … | |
Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> … | |
Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> … | |
Hello! I've got the code below which takes data from my db and displays it to the page listing reports submitted by the user. At the end of each row I have button that is supposed to launch a PDF generator so that the user can view their report. I … | |
Hello, I have recently been working on a custom gui and am having trouble with a section of my code that handles the creation of window-style dialogs: (i appologise in advance but i had to include the whole code as Google Chrome would not pin point the error and only … | |
How can I sort label names on buttons within a form. Automatically sort the names and put into the correct place within the form. A-Z order sort can be left to right. Want some sensibility to the form not all mixed up. | |
Normal buttons look Rectangular and I was trying to figure out how to round the edges of it and found myself with a headache.. How do those pro designers do it? How do they get the custom GUI's and the buttons rounded or even custom buttons in any shape? Kind … | |
I'm doing a small GUI program it is that I have two buttons when I press on any of the buttons it displays a dialog box saying which button I pressed .One of the buttons is a text with image displayed on it . my problem is that an exception … | |
Hello everyone! I've started developing a little application for one of my friends, which he will use at work to measure his hours working + the time he has breaks. I wanna do this in python cause, I just started with this language and wanna get more fimiliar with it. … | |
hi you know I'm doing a project on java instant messenger. I was thinking how would i implement it. should i use a seperate class for each component of the messenger. for example one class for its gui, one class for its chat diaglog, one for it jtree panel(to show … | |
Hey there, i would like to do a rank of the averages, but when i click in the button ranking, it says that global name 'media1' is not defined. can someone help me please? thanks in [CODE]# -*- coding: cp1252 -*- import wx class duff(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,wx.ID_ANY,'Duffan Formula', size=(400,370)) … | |
![]() | I have a few JSpinner(s) and I'm trying to change the button sizes. I know how to change the font of the SpinnerModel(s), but not the button sizes. Can someone please point me in the right direction? TIA! ![]() |
Java - How to use system clipboard to copy and paste objects(JLabel or JButton) in a JFrame | |
wxpython i cant figure out the problem. it says that the global neme 'panel' is not defined. Traceback (most recent call last): File "C:\Users\Daniel\Desktop\Duffan Teorem", line 34, in clickbutton wx.StaticText(panel,-1,media,pos=(150,240)) NameError: global name 'panel' is not defined could someone please help me to figure tha problem out? Thanks in Advance … |
The End.