4,919 Topics

Member Avatar for
Member Avatar for whateverme

Hello there, I'm trying on Gui exercises. One of them requires a simple GUI class for Vehicle. The GUI should have buttons for creating new SportsCar and new Van objects. and then should display the values of the instance variables of these variables. The GUI should also calculate and display …

Member Avatar for mKorbel
0
422
Member Avatar for KazenoZ

Hello, I've been trying to deal with this problem for a while now, I'm currently working on a game engine I could use to help myself later on, the thing is made in .NET C++, and is similiar in design plan to RPG Maker, and GameMaker and the such in …

Member Avatar for vdeych
0
177
Member Avatar for dannii

I'm very new to Java 4 1/2 weeks into my intro to java, I have to write a program that asks user for an integer, the program will then add up all integers from 1 to N and display output message the sum of integers from 1 through (integer input …

Member Avatar for dannii
0
186
Member Avatar for Akill10

Can't believe it has gotten to this. I cannot for the life of me figure out what is messing up my desired outcome. Here is the story: I have a small GUI program for a sports club. I have 3 list boxes, 1 for each U10's,U12's and U14 children. I …

Member Avatar for mKorbel
0
324
Member Avatar for CMAUK

Hi,I've started learning Java to enhance my programming knowledge and i've written code for individual GUIs which are working perfectly. Within each GUI i have common Labels,Buttons all in a JPanel that are the same in all of the GUIs which are linked together. What I want to basically do …

Member Avatar for mKorbel
0
175
Member Avatar for Abdel_eid

hello all i need to create a jtable which carry a customer ID and first name and last name and when clicking on that row of a specified customer it turns me to another frame containing the other data of the customer(email , phone number , address)

Member Avatar for mKorbel
0
71
Member Avatar for xunilxunil

Hello. First of all I am a newcomer to programming languages world and of course very new to Python. In my job, we are using Linux systems. Time to time I need to check some command and script outputs on the terminal. So, I wanted to code a small application …

Member Avatar for xunilxunil
0
306
Member Avatar for WinterDawn10

[url]http://www.facebook.com/photo.php?pid=608407&l=36ae49bbf4&id=100000539331398[/url] check out this picture.. i want to make one of my lists to be shown in this way.. whenever you click the '+' sign, the products under the main products will be displayed, and when you click the '-' sign, the products under the main products will be hidden.

Member Avatar for WinterDawn10
0
151
Member Avatar for Mkmd13

Hey, I have completed my code for Java and I have to put it in GUI, problem is I dont know a thing about GUI or if my program works correctly with it or not. Here is my code and what the code does is you type in random numbers …

Member Avatar for Mkmd13
0
504
Member Avatar for Bayareaboy

Hello everyone- I'm currently working on a GUI solution for a school assignment which creates a tabbed window with only the 'Pool' tab actually populated. I have successfully created all of the labels, textfields and buttons for the 'pool' pane, but I am really struggling with setting up the listener …

Member Avatar for mKorbel
0
173
Member Avatar for paramaster

Hello daniweb community, i'm new to all this and i'm pretty happy that found this. Anyway i'm having sevral issues. Frist one is: my Python GUI (IDLE) won't open program. [CODE]def num(n): count=0 while count <= abs(n): count = count + 1 n= abs(n)/10 print count num(-23) [/CODE] This code …

Member Avatar for paramaster
0
190
Member Avatar for matt_pds

I am trying to make a basic gui in tkinter for one of my python scripts. I have gotten it to work but I need a way for the user to break the main loop of the script by clicking a button. The loop is a for loop looping through …

0
39
Member Avatar for kumpul101

Hi!. Well, we have an assignment, and we will make a program in which I will be selecting a subject from the JComboBox, and when I have my selected subject. It will appear in the Text Field below the Combo Box. any ideas? //not the codes :) [CODE]import java.awt.*; import …

Member Avatar for mKorbel
0
146
Member Avatar for njmm

I need used one button to change the state of the light, and the light should have green, amber, and red lights and cycle through green -> amber -> red -> green each time the button is pressed. My code [CODE]import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.ActionEvent; …

Member Avatar for JamesCherrill
0
147
Member Avatar for samuelhenry

hi... i have multiple buttons in a jsp page .. consider a department page where i have 3 textboxes--- 1- dept number 2-dept name 3-dept location below these i have 7 buttons--- 1)next 2)previous 3)last 4)add 5)edit 6)delete 7)save when i click on the button how do i get results …

Member Avatar for masijade
0
149
Member Avatar for oldezwe

Hey, I'm fairly new to java. I was hoping someone could give me a pseudo code like description of what I'm trying to do so I know where to start my researching. In my program: -Users will register a username, password, and weblink to their account. -There will be restrictions …

Member Avatar for anuj_sharma
0
163
Member Avatar for Jutch

I am having trouble figuring out a start off point for this project. Can anyone help me get started? I would really really appreciate it. I'll post the code and instructions below. Bluebird Airlines needs a program to assign boarding passes on its only plane which has a seating capacity …

Member Avatar for Ancient Dragon
0
427
Member Avatar for kishishi

How can i run my Subclass where my GUI code are written from my Main Class?What codes should i write in my main class??Here are my codes: Main Class: my main class is blank because i really dont know what to write. [CODE] */ package classpkg; /** * * @author …

Member Avatar for sabin_chirila
0
455
Member Avatar for jonspeidel

so im taking the advice of 1ML, seems like a smart guy, and starting a second thread for the controversial, main calling, system calling, devil code, anyway i did take your guys advice and cut out the main calls and reduce everything to one fuction. however! ladies and gentlemen we …

Member Avatar for 1ML
0
399
Member Avatar for wonder_laptop

I am working with mobile agents, i got two .java files: HelloAglet.java and MyDialog.java they both depend on each other, i put them both on the desktop (same directory) and im trying to compile them using the following command: %JDK_HOME%\bin\javac -d %AGLET_HOME%\public -classpath %CLASSPATH% *.java and im getting the following …

Member Avatar for wonder_laptop
0
152
Member Avatar for ishaangt

i am working on an encoder nad i have developed a way to encode my message in terms of (x,y) coordinates..but i have to put these locations on a world map to strengthen my encoder.... im using dev c++ 4.9.9.2 and need a gui base coding for my c++ program …

Member Avatar for ishaangt
0
169
Member Avatar for Viasur

Hello everyone, I'm looking for a programmer that can make a small program for me. I have a buget so is kind of a small job. If anyone knows how to do this or knows a friend that can, let me know please. Here is the information of what I …

Member Avatar for richieking
0
147
Member Avatar for efecto

Hi there. I want to create a program on windows 7(32bit) that can rename photos based on date and time taken in meta data. I would like it to have a user interface window where users can simply drag photo files onto the scrollList.. then a button that executes a …

Member Avatar for Ancient Dragon
0
179
Member Avatar for jshoot

[B]Hi every one, I'm working in a code from 1 mounth, and now I finaly finished, it work, but there is the old problem in C++ language, the interface, once that I wan't to do a program that will be used for anothers users, I wanna to make the program …

Member Avatar for Stefano Mtangoo
0
453
Member Avatar for Jutch

I have a project I am working on but I honestly can't get a hold of a good jump off point. I'll post the pseudo code. I really need the help please. It is for a GUI C++ program. Please help me if anyone can. All I need is a …

Member Avatar for Jutch
0
148
Member Avatar for MrHardRock

Hey, this is the first program I've tried writing using any GUI and I have gotten everything so far, except every time I click my button to try and run my program it just freezes and does not do anything. import javax.swing.*; import BreezySwing.*; public class piGUI extends GBFrame{ private …

Member Avatar for JamesCherrill
0
225
Member Avatar for mak_sutt

Hi I have a GUI created using VC++. I want to read the value or content from a text box of another GUI in windows(dont have sourec for this GUI). Can you pleae suggest me how can i do this, please also point me to some basic tutorial or books …

Member Avatar for ninjatalon
0
122
Member Avatar for zachattack05

Greetings! Wondering if someone had some ears (or eyes I guess) I could bounce some concepts off of regarding a Client/Server system design. All technicalities aside (such as message framing etc..) I was wondering if anyone had ideas for how a system like that should be set up? Currently my …

Member Avatar for zachattack05
0
167
Member Avatar for livinlife79

import java.util.Scanner;// Import and use scanner import java.util.Arrays; public class Inventory3 { //begins execution of program public static void main(String[] args) { //create new object CD mycd = new CD(); //create and intialize array of CDs CD[] cdArray = new CD[3]; cdArray[0] = new CD("Rolling Stones",100,25,14.99); cdArray[1] = new CD("Pearl …

Member Avatar for jon.kiparsky
0
196
Member Avatar for DARK_BYTE

HI I am currently doing my final year project and I need to build an algorithm visualization tool(with user defined algorithm animation). The user defined animation takes place as follows: 1. The user can open a text editor in the GUI and type his/her user-defined algo in java 2. When …

0
69
Member Avatar for TheAgent1982

I am newbie in programing, and learning it... I need to know how do i make that program: Examples will help... I need to use UDP communication to connect to server by client and search, at server,for the longest directory, get the longest directory path and number of deepest level, …

Member Avatar for TheAgent1982
0
261
Member Avatar for rachaelginge

I need to get codes for ADD DELETE SEARCH (WHICH GOES TO ANOTHER FORM WHEN CLICKED) UPDATE (WHICH UPDATE AND SAVES RESULTS) [ATTACH]19289[/ATTACH] just the code for that thank you! :) it's from a SQL Database;

Member Avatar for Mitja Bonca
-1
128
Member Avatar for Taimoor Rana

Hello Lovely People, Please have a look at my GUI first, before reading the rest (I've attached a picture, see at the end of my post). I'm having two problem with this GUI. 1) I don't want my Start button to be as long as it is. I want it …

Member Avatar for Taimoor Rana
0
180
Member Avatar for spoonlicker

[B]To create a GUI yourself from scratch and attach it to the device context of another API/GUI like the Windows one or such? Can it be done? That's all I want to know. :P[/B]

-1
71
Member Avatar for Jutch

I am trying to compile a my code for a GUI project and for some reason it's giving me fatal error c1075. I'll post the code and output message. Let me know what it wants me to do. There is only one set of braces so I don't know what …

Member Avatar for jonsca
0
218
Member Avatar for Kieran Y5

I am writing this thread not to ask how to make an operating system, but to say how to make an operating system. There always seems to be new threads created asking how to make an operating system. [b]The simple answer[/b] There is no simple answer. Making an operating system …

Member Avatar for Beo_Airwolf
1
294
Member Avatar for SavnetSinn

Hey all. I'm in the process of learning Java in my spare time, and I've bumped into a problem that I'm having a hard time wrapping my head around. I'm writing a small game (currently little more than an animation) involving a handful of blocks moving on-screen. I've created a …

Member Avatar for SavnetSinn
0
4K
Member Avatar for churva_churva

[ICODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MainFrame extends JFrame{ JMenuBar main=new JMenuBar(); JMenu menu1=new JMenu("File"); JMenu menu2=new JMenu("Search"); JMenu menu3=new JMenu("Display"); JMenu menu4=new JMenu("About"); JMenuItem exit=new JMenuItem("Exit"); JMenuItem pw=new JMenuItem("Piece Worker"); JMenuItem hw=new JMenuItem("Hourly Employee"); JMenuItem pcw=new JMenuItem("Piece Worker"); JMenuItem hrly=new JMenuItem("Hourly Worker"); JMenuItem author=new JMenuItem("Author"); JLabel …

Member Avatar for churva_churva
0
159
Member Avatar for btsuper

Hi everybody, I've been working with gui recently, and I need help with my JButtons. I need to figure out how to set a button on the keyboard to click that JBUtton. I.e. When i hit the enter key it picks say the third button on the list or something …

Member Avatar for btsuper
0
1K
Member Avatar for Geowil

'Lo everyone, I am having some pretty frustrating issues that I can not seem to get rid of. The main goal of my program is to make a GUI with buttons that trigger custom events. [quote] C:\Java Tests>javac JGUITest.java JGUITest.java:13: cannot find symbol symbol : class ButtonHandler location: class LabelFrame …

Member Avatar for Geowil
0
281
Member Avatar for FireBlah

I have to write a very simple code (GUI code) and my last buttons are supposed to be in the middle at the bottom of the frame. Well, they are not in the middle. They are at the bottom but on the left side of the frame. /* I called …

Member Avatar for Katana24
0
130
Member Avatar for abhi10kumar

Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ??

Member Avatar for jay.gadhavi
0
181
Member Avatar for Roldy

Is it possible to change the event of a button click within different subs? For example, have the button take me to the main menu in one sub, but in another sub have the same button take me somewhere else.

Member Avatar for AndreRet
0
206
Member Avatar for staticclass

Hi, guys I'm new to this forum, and also kind of new to C#. I actually develop programs in C# for 2 years, but in a very amateur level. Here is my question; I'm trying to make a game like [URL="http://www.techgadgets.in/images/block-d-puzzle-game.jpg"]Block'd[/URL] I found the way to create an array of …

Member Avatar for Mitja Bonca
0
172
Member Avatar for Suzie999

Hi, I'm an absolute noob to php, I know a little, enough to get me by so far by learning from snippets and suchlike. Before I dive into a new area (sessions) I'd like to know if what I am intending is possible or silly. [U]What I have[/U] I dont …

Member Avatar for Suzie999
0
223
Member Avatar for alvalany

I was trying to create a gui based application in netbeans. What I want is a lot of panels stacked one above the other. So that when one of the option in a panel is selected, tthe related panel should be displayed above the original panel I know this can …

0
95
Member Avatar for carinlynchin

hi, i have no idea why this isn't working....I placed some system.out.println's for debugging purposes and what I found is that after entering the "new game" method, thethe message shows in the console, but then the random initialization occurs, after which I placed another system.out and its not showing which …

Member Avatar for carinlynchin
0
203
Member Avatar for insanely_sane

Hey guys. I'm brushing up on my GUI programming in Java and I am using the Ready to program IDE(by holtsoft). So the title tells it all really. I have tried and failed, but I need to see if there is a way to get the typewriter effect (as in, …

Member Avatar for ztini
0
165
Member Avatar for wirth.jason

I learned Python and understand the mechanics to write scripts with functions and classes, etc. Most of my scripts run via the interactive prompt but I've done a little GUI programming to create some menus and buttons. I don't understand how larger programs are put together on a high level. …

Member Avatar for sneaker
0
111
Member Avatar for initialise

Hi All, I am writing a client server program that has quite a few GUI's in it. Basically, everything is working except for the problem I'm encountering. Well, obviously :P I am not currently running my server program in order to simulate what would happen to the client if the …

0
130

The End.