4,919 Topics

Member Avatar for
Member Avatar for eman 22

I have a problem when I make GUI using SWT. the ptoblem is I want to remove all component except one from the shell at specific event.but I'm not preffered to use setVisible(false) because the big numer of component which will remove . how can I do that?

0
53
Member Avatar for OlyDLG

Hi! Re: [url]http://www.daniweb.com/forums/post868247.html#post868247[/url], the example provided by sneekula is helpful, but I need to return the result of the ButtonRelease-1 to main; the only way I could figure out to do this was using a global; is there a better way? Thanks again!

Member Avatar for OlyDLG
0
319
Member Avatar for divyakrishnan

There is an a problem on declaring variables on MYSQL stored procedure.The code I used I used is shown below. [CODE]DELIMITER $$ CREATE /*[DEFINER = { user | CURRENT_USER }]*/ PROCEDURE `emp`.`third_SP`() /*LANGUAGE SQL | [NOT] DETERMINISTIC | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES …

Member Avatar for hielo
0
157
Member Avatar for javaAddict

Hi, here is the question: I have 2 textfields in my JSP: [CODE] <s:textfield name=" ...." /> <s:textfield name=" ...." /> [/CODE] Now I went to browser and did: View Source Code, and noticed that around the above tags, there were auto-generated tags that put the above fields into 2 …

Member Avatar for garaki
0
1K
Member Avatar for nwalser

Ok so to give you a brief summary of whats going on our original assignment was to make a password directory that adds, saves, looks up, and removes a name and password that are connected together in an array. So now we need to alter the code so it works …

Member Avatar for NormR1
0
306
Member Avatar for jems5

I would like some help to index through an empty array and fill it with 10 entries one at a time. The objective of the task is to create a GUI with two buttons, one (Store) to save the value into array position and second (Quit) to run statistics calculations …

Member Avatar for jems5
0
157
Member Avatar for frank754

Re: Visual Studio 2008 adding/deleting portions of the form: I'm sure this has been asked before, but if I create a new project and add buttons, text boxes, etc. from the designer (the GUI portion), and click on each element, it creates a class for it in the .cs view. …

0
63
Member Avatar for gunnarflax

Hello! I just want everyone to know that I'm a linux beginner and have just started learning beyond the very basics. The problem I'm having is that only one account can access the shared folders (and it's not root) and I've been searching the internet like crazy but still haven't …

0
85
Member Avatar for SpiritualMadMan

Please direct me if this has been answered previously. Here's my problem. I am decidedly not a C++ Programmer. I do pretty good with VB6... I have a 3rd Party program that I need to write a replacement User GUI for. The company has provided a .DLL and the interface …

Member Avatar for AndreRet
0
142
Member Avatar for clogman

Sorry in advance for the lengthy first post. The faults I'll describe are not due to hardware or malware of any kind. They are entirely self-inflicted. My PC is running WinXP, SP3. I have two HDD, both with multiple partitions. The C:\ SYSTEM disk is copied bit-for-bit to a backup …

Member Avatar for mariasizer
0
177
Member Avatar for NewbieProgram

Our professor decided to give us a really hard assignment in our 2nd week in the course. I really have no clue where to start. Requirements Writing reusable code to check a user name and password can be a challenging task. Three major things can change between one password checker …

Member Avatar for NormR1
0
265
Member Avatar for eman 22

I'm now studing Object Oriented programming course,and I want to do a gui and implement all rules of object oriented programming in it . so what's the best recommend language to do gui other wise library swing in java ??

Member Avatar for JamesCherrill
0
55
Member Avatar for Nathaniel10

I am reading the first chapter on graphics in the Stroustrup book. He explains that we students will need to download the files of a GUI toolkit in order to run programs containing graphics. He recommends the "Fast Light Tool Kit, FLTK" because the book's programs are based on that …

Member Avatar for usagi
0
114
Member Avatar for drogba123

Hi guys, i am trying to implement elevator simulation but stuck in some ways. 1st. i would like to set the background of my elevator class area into yellow but when i tried to do so by typing app.setBackground(COLOR.YELLOW) under class Elevator, i unable to change it. 2nd. i tried …

Member Avatar for drogba123
0
903
Member Avatar for BboyRodimus

Hey guys, I'm working on my first GUI assignment and I wanted to make sure I have the layouts finished and such before I move on to the coding for the calculations and such. Here's the instructions: (4 classes) [B]CreatePanel[/B] CreatePanel extends JPanel defined in the javax.swing package. It should …

Member Avatar for NormR1
0
133
Member Avatar for sokolovic

I've already posted similar question at [URL="http://www.coderanch.com/t/511249/GUI/java/handle-JFrame-minimize-restore"]JavaRanch[/URL] but didn't get the solution. Here is the issue: I need to detect CAPS LOCK state after minimizing and restoring frame. This is what I did: Run application CAPS LOCK is off Minimize, restore and get message "Caps lock off" Then I minimize …

0
29
Member Avatar for kumar_k

Hi, Iam in the process of creating a program for converting words in a file to numbers. Am struck at the input file selection gui script. i want to create a GUI to open a file from the open file dialog box and to read the words in the file …

Member Avatar for kumar_k
0
143
Member Avatar for 47pirates

I want to display the data stored in my database(I'm using Ms Access) when i Clicked a View button in my GUI. Everything goes smoothly, as well as even the query is executed the the values are not visible in my panel where i've added the table. Suggest me what …

0
41
Member Avatar for convoluted

Hi all, Just started using Python a week or so ago, really enjoying it so far, but stuck with a project I'm working on. I'm trying to create a in-dash display system which uses Python to communicate with a piece of hardware and uses an HTML page to display the …

Member Avatar for SoulMazer
0
186
Member Avatar for Dazamondo

Hi Guys, Probably a simple one but im struggling to find it in VS 2008. How do you enable a VB program to allow a user to press enter rather than click on the button? I have a text box which the user types a number and then clicks a …

Member Avatar for codeorder
0
1K
Member Avatar for bunifrog

Hey guys I am stumped. My code worked fine until I added the calculations: [CODE]else{ interestRate = rate[choice]; termLoan = tYear[choice]; }[/CODE] :\Users\Mom\Desktop\DuttonWeek4.java:252: incompatible types found : double required: javax.swing.JTextField interestRate = rate[choice]; ^ C:\Users\Mom\Desktop\DuttonWeek4.java:253: incompatible types found : int required: javax.swing.JTextField termLoan = tYear[choice]; ^ 2 errors Tool completed …

Member Avatar for NormR1
0
174
Member Avatar for Sarama2030

how is c++ a graphical user interface programming language, i mean how does all the code fit in to develop window based applications.

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for caierhui

I am trying to make an Inventory GUI application using MySQL and NetBeans. So far, i was able to do add,delete,search, and save using Java Desktop Application. I now have to add a SEARCH button, a notification for the quantity if it is less than 10 and a USERNAME and …

Member Avatar for stultuske
0
2K
Member Avatar for youngmoolah

Hi I am trying to execute a TADODataSet by clicking on a button. As of now. whenever I run my delphi program my TADODataSet automatically activates and runs its corresponding stored procedure in sql. I want to be able to press a button on a form in order to execute …

Member Avatar for Wolfgan
0
155
Member Avatar for fire_

Hello. I'm creating a program with dialog editor. How can i set bitmap on button? I set bitmap at properties to True. I tried to search on google but i could only find how to set bitmap on button created with CButton. Thank you

Member Avatar for mitrmkar
0
590
Member Avatar for darkwing

Hi all. I'm writing a simple GUI to display some text and update the text as I receive data from a multicast address. What I have is a Frame, and then a wxScrolledWindow that is using the Frame as its parent window. The scrolled window contains a vertical box sizer …

Member Avatar for darkwing
0
426
Member Avatar for blknmld69

Good Morning, Having all kinds of problems with my programs. Seems as though is trying to read the StudentList file but cant. Im confused. I run the program and it goes to the StudentList.java and gives the errors below after the code. PLEASE HELP! project is past due and the …

Member Avatar for blknmld69
0
407
Member Avatar for kumar_k

Hi, I want to convert a string to numbers ... i tried a lot of codes.. iam a beginner... Kindly help... Ex: a=1 b=2 c=3 d=4 e=5 f=6 g=7 h=8 i=9 j=10 input value -->abc output value --> 123 input value -->abcj output value -->12310 I mean i want to …

Member Avatar for kumar_k
0
94
Member Avatar for Simplelyn
Member Avatar for freddypyther

Hi! I've searching for python IDE's and I've not found anything like NetBeans for java. I downloaded Dr Python but was too simple, I tried to install PyDev on Eclipse but I got some errors. I saw some screenshots about SPE and I said whoa! that seems good, but I …

Member Avatar for brandonrunyon
0
987
Member Avatar for Usmaan

Hi Folks, I am creating a GUI application and I've come to a situation where I need to check whether a button has been clicked. So logically: ---If--- the "button" has been clicked -> Do this. As soon as that button is clicked, it should jump to a method which …

Member Avatar for Usmaan
0
18K
Member Avatar for buster2209

Is it possible to write to the windows dos screen and display the results in a GUI? eg; [CODE] Console.WriteLine("ipconfig"); Thread.Sleep(1000); for (int i = 0; i < 5; i++) { textBox1.Text = Console.ReadLine().ToString(); } [/CODE]

Member Avatar for Diamonddrake
0
686
Member Avatar for Bhargavi V

My main idea is to link the three combo boxes I had taken appSet, app, package comboboxes Now when I select one iten in appSet then the remaining two comboboxes should show the data related to the selected item in the appSet and when I select one item in the …

Member Avatar for Bhargavi V
0
940
Member Avatar for ravi_shekhar06

[code]#include <stdlib.h> // include <stdlib.h> rather than <cstdlib> for mkstemp #include <fstream> #include <vector> #include <algorithm> #include <ios> #include <ostream> #include <cstring> #include <sys/stat.h> #include <sys/types.h> #include <signal.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <netdb.h> #include <netinet/in.h> #include <errno.h> #include <pthread.h> #include "socket_server.h" #include <c++-gtk-utils/shared_handle.h> #include <c++-gtk-utils/callback.h> #ifdef HAVE_STREAM_IMBUE …

Member Avatar for Fbody
-1
174
Member Avatar for abdelhakeem

Hello all, I and my friend are preparing for a small OS, He's currently making the bootloader, and i'm making a Portable Executables(PE) Loader that reads PE file (EXE, DLL, OCX) and executes them... My questions are: 1) Can this PE Loader execute Win32 programs on non-Window OS? 2) If …

Member Avatar for abdelhakeem
0
84
Member Avatar for lse123

how change default Java icon, in the upper left of java gui windows? may insert big icon eg 32x32 or 64x64 and java thumbnails it to smaller? must be PNG type?

Member Avatar for JamesCherrill
0
86
Member Avatar for jemz

hello can you help me please, I have problem during formatting my windows here's the scenario when i insert my windows xp cd...then i press any key...after i make a partition C and D.. after that i installed the xp on C...after the process format in NTFS and after copying …

Member Avatar for jemz
0
151
Member Avatar for viandante

Hi guys! I'm writing my first small application*. For this I'm using Sqlite as database, Glade as GUI builder and Python as coding. The application is pretty simple: it's a notebook to store names, surnames, adresses, etc.. I've been able to create a first window to store data in Sqlite …

Member Avatar for woooee
0
891
Member Avatar for D33wakar

using wx python.got black bars instead of unicode characters in gui window. [hint]:My interpreter gives error- [COLOR="Red"]Unsupported characters in input[/COLOR]

0
79
Member Avatar for bojomojo

I am creating a program that will have a database of schools.. Each months the user needs to add a certain data entry for all schools, like each month the user will need to input how each school scored in a monthly competition. The number of months is not fixed, …

Member Avatar for Ramy Mahrous
0
127
Member Avatar for blknmld69

Can someone work with me on this program. I will put the instructions first, then my code, then the errors [B]INSTRUCTIONS: [/B] Create a program to enter grades and calculate averages and letter grades. 1. Need a class which will contain: a. Student Name b. Student Grades (an array of …

Member Avatar for Akill10
0
1K
Member Avatar for ismithx

Hi people, i was wondering If you could help me. I have a personal project as a java program, and I wish to develop my own Look and Feel. It will be rather simplistic (like a metro ui). Is a Look and Feel the right way to be going about …

Member Avatar for ismithx
0
264
Member Avatar for Mouche

I'm working on a tasklist program to brush up on my C before I take a class. I have two structs, task and tasklist. Here is the task struct: [CODE] typedef struct task { char name[100]; bool completed; /* bool is described as an enum in an included header file …

Member Avatar for abhimanipal
0
151
Member Avatar for kch1973

I have completed a program and it compiles fine. When I run it, it seems to run fine. The only thing is that I am missing element data for two of the objects I am printing out in the text area of this JFrame. I an array called printerProduct[5], that …

Member Avatar for kch1973
0
144
Member Avatar for first7movie

HI ,how can i get the size of a JBUtton JLabel . I always get 0 when i use the getHeight or getWidth method .

Member Avatar for JamesCherrill
0
37
Member Avatar for hoppy9

Hello All, I am student just starting Java. I do need help with swing - GUI. I am creating 4 textfield that accepts input from 3 user and will display as a 2D Array in the text area. As well as calculate the average of one column from the input. …

Member Avatar for NormR1
0
499
Member Avatar for cege

I play a game called Hyperiums... long story short, the fleets cost money depending on your planets race, production and government type. And you can have it by how long it's going to take and what the fleet AvgP is going to be or see how much the upkeep will …

0
57
Member Avatar for a007s

I have this program I'm trying to write, a simple application with gui: a menu and a button. Whenever I go to run it, this is the error I get: Traceback (most recent call last): File "/Users/[I]myname[/I]/Documents/School/Programming/Window.py", line 27, in <module> app = Application() File "/Users/[I]myname[/I]/Documents/School/Programming/Window.py", line 14, in __init__ …

Member Avatar for a007s
0
3K
Member Avatar for UaBoy

I am new to this whole programming thing. I am currently using python 3.2. I want to get into trying to build GUI, but i can't find any programs that seem to work with python version 3.x. Should I downgrade to an earlier version of python? If so what is …

Member Avatar for vegaseat
0
279
Member Avatar for i2icharcl

Hello everyone, I'm currently working on a java GUI that enables a user to search words from a file. It also needs to use two binary searches. Kind of like how Google and Facebook has their searches displaying recommendations after every prefix is typed. I need help on how to …

0
166

The End.