4,919 Topics
![]() | |
Any help would be appreciated. I have a working command line program (trivia question) and decided to try to put it in a Gui. I got the user menu to print, but it gets to line 162 and blows up (going line by line) where I'm thinking it should do … | |
I am trying to write the code for a face that winks. My code doesn't give me any errors however when I try to run it the window comes up as a blank window. It does have the corredt title but no face is drawn in it and I'm not … | |
So im doing this swing java gui project where the admin can login and search, modify and add users to the database mysql. Im having trouble putting in the right getParameter to get: type = radio group button of 2 with 1 as Doctor and 1 as Nurse Specialty = … | |
I have a general idea on how to start. I would need a gui with a screen to display the text and a JTextField to write the text and a send button. I would also need to import the java.new package to connect between the computers, but other then that … | |
i have netbook with 4gb ssd for windows installation. i need to reinstall it so the documents and settings is on main hard drive (100gb) and program files are also on main drive. got my xp installation, and I extracted iso into actual folder with winrar, searched for WINNT.sif i … | |
I'm really new to linux or ubuntu and don't know what antivirus to install I have tried installing clamtk and don't know how to update the definitions or virus engine or the gui version. Any help would be really helpful | |
![]() | I'm creating a calculator, and I'm required to have a feature of key press. Ex: I have a GUI with each numerical value (0 - 9) has a button. Now when the user press 7 on the keyboard, I need buttonSevenActionPerformed to be invoked. The signature of buttonSevenActionPerformed is: private … |
Hi! I'm looking to be able to add a user created extension to a program I'm making. The extension should be able to execute on it's on accord, then pass control back to the program when it's done. So, Say I click a button (it's got a GUI on it), … | |
How do I figure out about dynamic each of tabs in GUI with C#? I tried to looking for website about dynamic with tabs. Thanks | |
Hi All, I have been using eclipse and MS visual studio .net. I am looking for a way to generate a schema based on the input xml. Visual studio generated as shown below. However, is there a way to mention the below properties through GUI. properties <xs:whiteSpace value="collapse"></xs:whiteSpace> <xs:maxLength value="16"></xs:maxLength> … | |
i need to create a class named MyShape(which i did ), and make it a super class. its instance variables should be the x1 x2 y1 y2 values shared by all subclasses. the class needs to include 1. a no argument constructor 2. constructor that takes the argument necessary to … | |
Hello, i need a simple C/C++ program that sends SMSs via the attached GSM modem. I have some experience in C programming, but i haven't controlled the COM port. Also, i need to give 2 variables , one for the recipient's number, and second for the actual message. So, when … | |
Hi guys, Im trying to do battleships game. But I dont know, what is the best way to create interactive battlefield? I created JFrame and put inside two JPanels (my and opponents field).I wanted to put inside JButtons (JFrame had GridLayout), but I was told this isnt right solution. It … | |
I need help creating a Binary file that displays in Hex and readable text! I have already completed the gui part I need help converting to Binary. Here is what is required: 16 Byte values displayed as 2 digit hex values separated by 2 spaces, then a separator | and … | |
Hi, I was wandering if someone could give me some idea of how i would design my application in regards to what to put in the exe and what to put into the dll. At the moment the exe is just getting bigger, and I have never built such as … | |
Hi, I am getting a null pointer exception with the code below. From what I have read, it seems like something is null, but I do not understand how this could be a problem? The error is occurring on line 205 of the StudentContainer class. (This is at the very … | |
Create a non-GUI-based Java application that calculates the payroll for a department in an organization. The application should display text that requests the user input for the name of the department, the number of employees in the department, and the average salary for the employees in the department. The number … | |
here is my one class (controller) and the other (GUI) what is happening is inside the SearchListener inner class for the button, I am calling a method from the controller class (i have already tested the parameter sent and that part works fine) but when i click on a code … | |
Hey everyone, I'm new at visual c++ and MFC Applications, and so I am going through Ivor Horton's Beginning Visual C++ 2010 to make a drawing application through Microsoft Foundation Class. I added menu bars for options, such as shape(rectangle, line, and ellipse) and select colors (black, red, blue green). … | |
Hello all. I got a project which includes many classes.One of them is a class extending JPanel which is used to load an image as a background for my JFrame. Now,there are 2 other classes,instances of which are used to represent people interfering with each other or moving within the … | |
I have made the JButtons just like Keyboard, which when the user type, then what he/she typed must be displayed on the textfield. And as the user press the keyboard, the colour of keys on the screen should be changed then go back to the original colour when the key … | |
hello... can you help me please, i make a program GUI and my problem is that how can i change the GUI or to remove those minimize,restore,close on top at the right side of the GUI,is it possible?.Please help me thank you in advance hoping for your positive response... | |
I'm serious having problem in creating GUI applications in java!...I really understand how to write console applications, but the GUI application is kinda confusing my. So please i need a help. | |
I had a gui set up that displayed menu items a window and some buttons at the bottom. i am having it communicate with an outside program using commands. i recieved a strange error msg after i tried to have it communicate with the other program. I know the gui … | |
OK im having a problem which I feel should be super easy within windows API gui programming, but I dont know how to go about it the right way. On a givin HWND when a single mouse click is qued and my program recognizes it and my windproc processes it … | |
Hello, it seems I am having some difficulties with my project in witch I am training my C# skills. Well, the problem is I have wrote the biggest part of the code, but I have problem to finish what i started, so I left blank code lines. Here is a … | |
Hello guys im working on a project for my class and im stuck. i dont have much of experience with linked list and my book isn't helpful with this project. Here is what the project is about: Develop an interactive program to implement basic linked list operations including: 1. Add … | |
What I am doing here is in one class reading in a file where the first line contains info about the number of rows and columns in a grid to be made in a GUI representation. I made the first class read in the file, and returns a value "e" … | |
i want to make a tictactoe game. But i want all the rules are on the classes and call them to GUI. How can i send the ClickHandler public to the GUI??? here is the class code: ( public void ClickHandler ) [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; … | |
Hi everyone, I know there's a section designated for Mobile Development but, that's really dead and It wouldn't hurt anyone if I posted here - It's a C# related question anyway. I'm making a Naughts and Crosses game on my Windows Mobile - HTC. The game works fine, I can … | |
Hello, I'm re-creating the game Riveter using wxPython. I have all the basic fundamental groundwork done, and now I'm just trying to polish certain aspects. I am, however, having problems removing buttons from the screen. I have a panel, with a vertical sizer inside of it. Inside of that vertical … | |
Hai friends, Am using swing for GUI, using gridbaglayout, for combobox width is changing by the size of items loaded, i want particular size as per above field, setprefferdsize,setmaximumsize, setminimum sizes having no effect in gridbag layout. [CODE] GridBagConstraints ComboConstraints = new GridBagConstraints(); ComboConstraints.gridy = 1; ComboConstraints.gridx = 1; ComboConstraints.anchor … | |
I'm having some trouble with some low-level tools. Any advice would be appreciated. Here's the situation: I've been having trouble with screwy rendering of GUI elements in gimp. Submitted a bug, the gimp people say it's a gtk problem. Since I'd been meaning to upgrade from 10.5.8, I figured I'd … | |
This is my calculator. I am trying to add the user input option. The combo box works with the calculate button, however, the user input option does not work with the calculate button. I only get $oo as the output in the Payment text field. Could someone please give me … | |
Hi! I'm learning how to make a GUI in Java. I'm wondering how to add a JThingy (JLabel, etc) without the use of the add(NameOfJThingy); Because add(); isn't static, you can't use it in a static function (like main, which must be static). I've seen that the constructor can help, … | |
Hi, I've posted two scripts that I would like to improve. The first one (SparePartsDemo.py) is a little utility that takes a .csv (.txt) data file exported from another application, builds a SQLite database,performs a request to select and sort records and write the results to a sqlite database file, … | |
Hi, I want to build new Gui program for calculator. I did it in c# using MS visual c# 20100 express. Now I want to do it in java. I used jGRASP till now. Does jGRASP has any feature like visual studio to add buttons or something like that? or … | |
Hello everyone. I want to change the background color of the button when I click it. the problem now is the only the last button works, but not the way I want to.(It changes color I click other buttons.) here is my button code. [CODE] for (int i=0; i<(5; i++) … | |
Hi. I am trying to display a JFrame containing a JLabel with an image, and I can't get the image to display. The text appears fine. I've done this before with no problem, so I have no idea what is wrong. I've tried everything I can think of to fix … | |
This is my GUI diagram book --> reservation --> payment [LIST] [*]I need to know what should i add if i wan to take total value from "book" class to use at "payment" class. help me TQ [/LIST] [CODE]public book () { double price = 12.00;[/CODE] Im using passing value … | |
i have to create a soccer tournament like the world cup that starts off with 32 teams that goes down to 16 then quaters, semis and final i have to use sort stacks or queues or even linkedlist. there must also be arrays, classes. gui for bonus marks but i … | |
Hey i have a project that i have put the Questation at the end of this message i am a newbie to java and have make this my mainly Questation how do i put somethin in my arrays from GUI ?? and how do i search in name or id … | |
Hi this isnt wrking i need help!!!! [code] import javax.swing.*; import java.awt.event.*; import java.awt.*; //used for layout manager import java.util.Random;; class GuessGame extends JFrame { private JButton newButton; private JTextField gField; //stands for guess field private JLabel firstPrompt, enterLabel, userMessageLabel; private int randomNumber, userGuess; private int counter = 0; private … | |
Hi so basically im pretty sure i have all my code right and its compiling but for some reason when i run it the frame will load and then quit on me without saying anything i dont know why here is my code [CODE] import javax.swing.*; import java.awt.event.*; import java.awt.*; … | |
Problem: How do you dynamically update a chart / graph in a single iteration loop in Visual Studio 2010 WinForms C# application? Scenario: I'm doing simulation-based computations where I have an array to represent values for my function along an interval. The function is time-dependant and so the values in … | |
I have a Computer Science project due Monday. We have to make a game and use GUI in order to ensure ourselves a good score. I decided to make Hang Man. The class reads in a txt file of common SAT words (I'm a sophomore in high school, so I … | |
I am trying to update a JProgressBar in a for loop , The maximum size , I have set is equal to the size of the array which is computed upon and I am incrementing the value of the progress bar in the for loop.Here 's the code [CODE] private … | |
Hi i'm creating a GUI and i have a couple menu items set up with options within those menus. What I'm looking to do is use those items inside the menus to open up more menus kinda like when you go down to all programs in your start menu and … | |
Okay, so I'm currently working my way through Beginning Python: From Novice to Professional, and I'm up to the networking stuff. I consider myself at least an intermediate Python programmer, but the network stuff is really confusing me. I'm trying to get the hang of it by writing a simple … | |
i didn't understand from the question if the user needs to enter data or not can some one verify it with me tried to follow the instructions, and thats my code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace BookExceptionDemoGUI { … |
The End.