4,919 Topics
![]() | |
I am having troubles with a program I wrote to count letters in a string. Here is the program: [code=C]#include <stdio.h> #include <stdlib.h> #include <string.h> int i; int length; int ascii; char cipher[3]; int letters[26]; int main() { char cipher[10] = "ABC"; /*Or an inputted variable, but that's not important … | |
Hi all, I'm a beginner in JAVA studying SWING. I learned that if we want to handle an event for a event source(say JButton) we should implement corresponding Event Listener(say ActionListener) . I also understood that we should register the Listener with that event source. With that knowledge I tried … | |
I need to Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous … | |
Hello, I am trying to figure out how to correct my errors. I am new at this and this is due today. The actual assignment is .... Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow … | |
[COLOR=Green][B]need help with my java calculator, about the key listener. its allows me to input using keyboard. but the answers are always "ERROR".. but when i try to use the mouse. it works fine. having problem with the keylistener. please help CALC [/B][/COLOR][code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import … | |
Dynamic GUI Hello people... really I dont know if this is the correct name (Dynamic GUI) but I wanna ask u how to build dynamic JButtons .. 4 example : the number of the buttons in a frame not static ... (user enter it) at the begging and the buttons … | |
I have built an arcade cabinet from which I will play Mame, Daphne (Dragon's Lair) and pc games (like Warcraft, Quake, RTCW, etc). I bought a joystick control (Xgaming Tankstick) which does [U]not[/U] have an Escape button. I'm using VB6 to build the GUI that will drive the whole thing, … | |
Hi all, I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really … | |
Here is my code for an applet in java it runs well but shows error unreported exception java.io.IOException; at the functions highlighted in green I wanna ask the functions i've highlighted highlighted in green in code are supported in applets? Thnx in advance /* * Java(TM) SE 6 version. */ … | |
Hello everyone I am a new to java and I am trying to get help with my inventory program. Here is the assignment ..Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, … | |
I have all of my program working except the following buttons (add, modify, delete, save, search) which I have the buttons, but turned off in my program so it will still compile/run until I get the button functionality fixed. To be honest, I have no clue on what code needs … | |
I am stuck again, I was able to complete last week's assignment without having to post, just so you guys don't think I'm a lost cause! :) I need to allow the user to input loan amount, term, and interest rate before calculating the monthly payment and showing the table. … | |
![]() | Hi. I'm new with Java's GUI Components and I'm having a hard time with my program design right now. My program deals with manipulating database elements (i.e. fields and records) and I'm stuck with asking the user to add a new record into the database. My program originally works in … |
My inventory program was working until I got to the part where I have to incorporate GUI functionality. I have my code and incorporated some GUI code at type, but unable to get them to work together. My code compiles, runs, but acts as if I never added the GUI … | |
import java.sql.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class DisplayQueryResults extends JFrame { private Connection connection; private Statement statement; private ResultSet resultSet; private ResultSetMetaData rsMetaData; private JTable table; private JTextArea inputQuery; private JButton submitQuery; public DisplayQueryResults() { super( "Enter Query.Click Submit to See Results." ); String url … ![]() | |
Ok so I'm trying to use menu bars to grey out different widgets in my gui il show you all the lines that i think are important and the error messages for each command i have tried. [CODE]root = Tk() input_text = Text(root, height = 10, width = 25).grid(row = … | |
I was wondering if anyone knows a good C++ Win32 API Tutorial for someone who knows nothing about gui programming or the windows API. | |
i could REALLY use your help.. the callback of a push button (namely pushbutton1) is a simple for i=1:100 loop that controls some other variables. i want to suspend the execution of the for loop after each incrementation of i.. however i don't want the execution of my gui to … | |
Well, the title pretty much explains it, I want to read a CSV file and print the file into a GUI Text area. Or other suitable Widget, while im at it is there any widget that can display csv Files in a excel sort of syle, in the sense of … | |
I have a backup utility that copies all files and folder into a backup area This can take some time as the files take up 92Mb over a 1Mbps Data Link I have added multi-threading to the utility so that the copy can be aborted and so the GUI keeps … | |
I can only get 2 of the buttons to work - what am I doing wrong? I have been working on this for 5 days. I also cannot get my icon to work - do I need more of an address? [CODE] import java.util.ArrayList; //For ArrayList public class Product implements … | |
[QUOTE]I have tried to rezize my output window by changing the values in the width and legth - nothing happens. What am I doing wrong?[/QUOTE] [CODE] private final static int FRAME_GRID_ROWS = 3; private final static int FRAME_GRID_COLS = 1; private final static int FIELD_PANEL_ROWS = 10; private final static … | |
first greeting to everyone here. this is a nice forum that we can share and discuss. I used to do a GUI program in c using GTK 2.0 under the cygwin platform, but the built file (.exe file) can only display the GUI at the Unix environment (cygwin X11 server), … | |
I m using Qt, I have multiple forms. The data from any form has to be sent using socket. also data coming over the socket has to be displayed in a main form. what could be my design so that i can share the socket connection among different forms also … | |
hai , all This coding about filter data using jTextFiled and display in jtable, so help me to combine these class be one class. thanks [CODE] //DBAccess.java import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.EventList; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBAccess { private static Connection c; private … | |
I cannot explain this problem, and in searching all over I've seen a few leads but no help. I do not understand at all why I get this exception. It claims I am trying to cast a JList as a DefaultListModel when I'me trying to cast a ListModel and a … | |
I was making a simple application with a GUI built with wxPython. I have created and layed out the main menu, and when the user clicks a button, it is *supposed* to make a different set of controls appear, getting rid of/hiding the main menu. I was wondering how to … | |
I have installed a copy of Microsoft Virtual Server on my XP machine (as a test run). I have already installed a Windows 2003 server as one of the guest O/S's and I am now trying to get a copty of RedHat Linux to also work along side. I have … | |
Hello everyone, I know it is quite a long time you have heard from me, dont mind that it was due to the programming and all other stuffs. I am just curious to know what happens next. I can now say i am a c++ programmer and i can write … | |
Am currently doing a project with a java GUI interrogating a database. My first GUI is a [U]Login[/U] display which when the user successfully logs in will move onto a [U]Menu[/U] display. My problem is that I cannot get from the [U]Login[/U] display to the [U]Menu[/U] display. These GUIs have … | |
I'm using wxDev-C++ to write an auto-clicker program that I'm hoping to release as FOSS one day. I wrote some really neat algorithms that I tested in Java to be implemented my project so it can be used in games and such as that. (It's not school work, just something … | |
I have 3 things left I want to do to this app, I saved the hardest for last ... now I am wondering why. First is a search button. I want to be able to Search on my cd name field. I have been reading and playing with this since … | |
I do not even know if I can do this, so this may be quick and painless. I have my existing code, all the fields, buttons, scroll panel and everything else where I need them. Simple FlowLayout is fine for what I am doing. Yesterday I created this goofy little … | |
Looks like I only made it a day and a half without a new question. I am not sure if that is good or bad. I have everything just about the way I want it. I am now putting new buttons in to my GUI to manipulate everything put in … | |
I just started to fool around with QT4. I was wondering how experienced organized the widgets used in GUI's. For instance if I were to use several widget objects in a particular program, is it better practice to make a header file for each function? If I wanted a spin … | |
[QUOTE=hungry_for_info;407763]Can anyone help me with removing this infection please..[/QUOTE] I think I have the same problem This thing is driving me crazy. Here's the Hijackthis log. Anyway, I'm new to this and hope someone can help as my antivirus is not removing this problem. Thanks in advance. Logfile of HijackThis … | |
I am sure anyone here for more than an hour is familiar with the project I have been working on. I am currently researching listeners to try and get my fields to execute the proper calculations when moving from one to the next. Right now, even though I have those … | |
can you make a java gui program like a cash register were orders are put in and reciepts are outputs for example (STAR BUCKS COFFEE) | |
Is there a way to create a GUI completely in C++ code? | |
Hello, My machine has suddenly started working very slow. I have TM always up to date along with Windows updates on automatic. Does anyone see anything suspicious below? Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 3:35:30 PM, on 7/16/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer … | |
I have spent the weekend reading about GUI and how Java uses it, and all I got was confused. :o) I decided the best way to learn it was just to get in to it and start coding, so that is what I did. Went better than I thought it … | |
Hi need help and explanation to fix the following error in my java program. I can not get the program to show a gui pop-up window. I have to turn this end by 12midnight EST. Just looked at this code, when you see that dos window and no GUI it … | |
Hi It's my official first year learning java and I've got a project that has to be done before the end of the year. And I was hoping someone could give me a couple of good project ideas. The project has to solve a certain problem e.g. Kids need games, … | |
please make cash register using gui application and java programming language. Like the cash register in mcdonalds. i just want to see how it works. My program is not working. | |
![]() | Ok, whilst opensuse looked real purdy it just wasn't lean enough for me. So I decided to switch to xbuntu for maximum speed and usability. At the moment it's just great I intend to start gui development with mono and stetic. So this is going to be a thread mainly … |
I want to create an application. It shouldn't be OS-specific but I'm running 98SE so I'll be explaining things in terms of that. I've already written it as a working script in VBScript, but it's too slow [i]and[/i] gets exponentially slower as it handles larger and larger files. I want … | |
My debian server has about 20 old kernels listed in grub. there taking up loads of space. I dont want to just remove the entries from grub, i want to actually remove all kernels aparat from the most recent one (it works fine). I would usually use synaptic for this … | |
Hello, again. My time is nearly up on the Ultrasound GUI I've been working on, and I've got one last major feature to implement: continuous capture at a user-selected 1 to 30 frames/second rate. In the past, I've tried running a loop that would take all the pictures, but for … | |
Hello, I'm developing a small, web-based music sharing application. I used to create static HTML contents. But now, I need a dynamic site that retrieve information from databases (also write data to database). As a beginner in PHP and MySQL, I hope someone from here can help me out.. Here … |
The End.