4,919 Topics

Member Avatar for
Member Avatar for MWE_QUE

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 …

Member Avatar for MWE_QUE
0
320
Member Avatar for tracieam

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 …

Member Avatar for tracieam
0
104
Member Avatar for cabosun

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 = …

Member Avatar for Ezzaral
0
109
Member Avatar for sirlink99

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 …

Member Avatar for Majestics
0
111
Member Avatar for katokato

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 …

Member Avatar for gerbil
0
390
Member Avatar for ben.matthews18

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

Member Avatar for jingda
0
169
Member Avatar for chudapati09

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 …

Member Avatar for kekkaishi
0
121
Member Avatar for jackmaverick1

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), …

Member Avatar for jackmaverick1
0
223
Member Avatar for Tazsweet19

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

Member Avatar for Mitja Bonca
0
60
Member Avatar for jaango123

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> …

Member Avatar for xml_looser
0
147
Member Avatar for shyla

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 …

Member Avatar for JamesCherrill
0
297
Member Avatar for rattlesnake_bac

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 …

Member Avatar for sunnythesun
0
847
Member Avatar for Maelst0rm

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 …

Member Avatar for JamesCherrill
0
776
Member Avatar for Kprosser1029

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 …

Member Avatar for thekashyap
0
260
Member Avatar for CrazyProgrammer

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 …

Member Avatar for CrazyProgrammer
0
153
Member Avatar for coolbeanbob

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 …

Member Avatar for jon.kiparsky
0
717
Member Avatar for MissZuri

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 …

0
42
Member Avatar for carinlynchin

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 …

Member Avatar for carinlynchin
0
3K
Member Avatar for bensewards

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). …

Member Avatar for bensewards
0
293
Member Avatar for chester1908

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 …

Member Avatar for mKorbel
0
145
Member Avatar for ghsuan

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 …

Member Avatar for tunlinaung
0
2K
Member Avatar for jemz

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...

Member Avatar for Majestics
0
246
Member Avatar for kenray

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.

Member Avatar for jon.kiparsky
0
120
Member Avatar for toferdagofer

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 …

Member Avatar for JamesCherrill
0
188
Member Avatar for CodyOebel

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 …

Member Avatar for template<>
0
147
Member Avatar for Executionerr

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 …

Member Avatar for RunTimeError
0
121
Member Avatar for GolfGr

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 …

Member Avatar for GolfGr
0
172
Member Avatar for unrealj

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" …

Member Avatar for unrealj
0
186
Member Avatar for GaBack

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; …

Member Avatar for GaBack
0
252
Member Avatar for Usmaan

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 …

Member Avatar for C#Jaap
0
384
Member Avatar for dare599z

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 …

Member Avatar for dare599z
0
2K
Member Avatar for softswing

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 …

0
64
Member Avatar for jon.kiparsky

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 …

Member Avatar for jingda
0
337
Member Avatar for StudentUoP

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 …

Member Avatar for mKorbel
0
844
Member Avatar for jackmaverick1

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, …

Member Avatar for JamesCherrill
0
151
Member Avatar for J-M DESMETTRE

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, …

0
662
Member Avatar for newack

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 …

Member Avatar for cretaros
0
2K
Member Avatar for newbieha

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++) …

Member Avatar for newbieha
0
108
Member Avatar for catpoints

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 …

Member Avatar for catpoints
0
2K
Member Avatar for TinyBelly

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 …

Member Avatar for mKorbel
0
97
Member Avatar for chinee

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 …

Member Avatar for chinee
0
2K
Member Avatar for BOOMBOOMF

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 …

Member Avatar for mKorbel
0
140
Member Avatar for surfdude167

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 …

Member Avatar for stephen84s
0
142
Member Avatar for fin4424

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.*; …

Member Avatar for fin4424
0
261
Member Avatar for madfase

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 …

0
93
Member Avatar for laitingfei

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 …

Member Avatar for rebecca94
0
2K
Member Avatar for ashishnandwani

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 …

Member Avatar for ashishnandwani
0
199
Member Avatar for toferdagofer

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 …

Member Avatar for WolfShield
0
127
Member Avatar for socksy

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 …

Member Avatar for socksy
0
210
Member Avatar for shyla

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 { …

Member Avatar for kimbokasteniv
0
593

The End.