4,919 Topics
![]() | |
Hi I'm new to GUI. Ive created a calculator but i dont know how to get the number from the textfield and calculate the answer. Can u suggest ways i can do this. Thankyou. | |
I want to do a project on Java. But I do not have any idea net based application in Java. I mainly want to do an application like messenger in Java. I had done a GUI application in Java using My SQL database server. But now how can I start … | |
Does anybody know how to clear all widgets; labels, buttons, etc. from a tkinter frame so that new ones may be put in their place? I've tried self.destroy() but that makes the frame unreachable, and self.grid_forget() followed by, "and without" self.grid() neither of these work, at least not as expected. … | |
Hello, I'm currently working on an advanced 4x4 multilayer tic tac toe(will include servers, and accounts with levels and xp). Now the problem i have is that i have a image (.png) of a piece(representing X or O) and I want the button that you click to place your X … | |
I created a form for my application and I am having trouble deciding where to place the submit button. Here is a picture of the form with my current submit button: [ATTACH]22108[/ATTACH] Here is a picture of the form without the submit button: [ATTACH]22109[/ATTACH] What do you think? Where is … | |
i have an assignment on pattern recognition,to train a Hebb neural network to recognize different 26 (upper case) letters of the alphabet,only one output representing the correct letter should be ‘active’ at a time in matlab. i have entered all my patterns (A...Z) and the target as well and training … | |
how do i learn java gui? i inkow java commands line but am not familia with gui which software i need to , inkow only eclipse,and jdk | |
hey can u help me by dis problem please write the application to display a window with Code GUI..right Now help me | |
I was wondering is there a way to get a button on the application title bar...more likely like the one in the firefox 4 and on opera latest browser. [ATTACH]20310[/ATTACH] Is it any possible to get a button like that or just a regular button on the title bar?...thought it … | |
I need to build a gui application for Nim. I started writing the code and need help. Will you help me write the Nim game? import javax.swing.JOptionPane; public class Nim { public static void main( String args[] ) { String firstNumber; String secondNumber; int number1; int number2; int sum; firstNumber … | |
Hello I need to create a graphic simulator for MIPS CPU, something that will show the structure of the CPU, and when getting a text file with MIPS code- it will show how does each command executed through all the CPU parts. However, i have never worked with grpahics, i … | |
Guys please help me make a simple code for this!! | |
I just got a MacBook Air and I would like to download the Python programming language and an IDE like Pyscripter. Could someone suggest what to download and any threads on this site that I might want to read before getting started? | |
i get no GUI when i run! import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calculator { private JTextField resultTF; private JButton calculateB, numbersB[] = new JButton[11]; public void driver() { //Create Window JFrame calc = new JFrame("Calculator version 1.0"); calc.setSize(500, 500); calc.setDefaultCloseOperation(calc.EXIT_ON_CLOSE); //Get the content pane (object of type … | |
I have to make a bank GUI and I have a Jlist that populates with the customer objects (viewable by name) and I can view their individual info... but when I select the customer, I also want to be able to pull their account info and put it in a … | |
am trying to create user interface using 'ext JS' libraries. the following is my code: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Register</title> <!-- css --> <link rel="stylesheet" type="text/css" href="var/www/extjs2.1/resources/css/ext-all.css" /> <!-- extjs --> <script type="text/javascript" src="var/www/extjs2.1/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="var/www/extjs2.1/ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function() { Ext.QuickTips.init(); // message target Ext.form.Field.prototype.msgTarget = "side"; … | |
Hi All, I'm making a website for my school project but I have a problem with the pre tag. I used a table to define the layout of my site. But now I want to add content using the <pre> tag and it stays in the center -__- even when … | |
Hi All, The GUI works as intended to. But I was wondering if some of you java gurus could look over my code and maybe give me some tips on how I could have written this code better. Thanks! [B]GUI CLASS: [/B] [CODE]import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; … ![]() | |
Maybe this is a bit too broad a question and too much code for this forum, but I'll give it a shot... OS: Win7x64 6.1.7601 py: 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] wx: 2.8-msw-unicode My question is more of a general nature than in regards … | |
Hi all. I'm trying to capture video from a webcam and then display the feed in a wxPython GUI. I originally borrowed code from the OpenCV wiki ([url]http://opencv.willowgarage.com/wiki/wxpython[/url]), and since the code was for OpenCV 1.x I tried to adapt it for version 2.1. Here's my attempt to far: [CODE]import … | |
I recall back in school we worked on a small program for database management and we wrote a method which contained instructions for establishing a connection. Connection con(){} con(); // Would return an open connection Can this be applied to JFrame ? For instance i am making a 800x600 GUI … | |
In my final year project I have to build an Algorithm animator. It would be done to show how the algo works using nodes(PCs) and edges(connections). For example, how the leader ellection ring algo works. Anyway, I haven't started implementing yet. My supervisor wants me to do it as a … | |
what's wrong with my code? i'm new to java, can someone help me? the data is not showing. [CODE] public class GUI { private static JTextField fname = null; private static JTextField lname = null; private static JTextField search = null; private JPanel panel = null; private JPanel tablePanel = … | |
hello all I found the sample code ,but do not understand how the author found the value of width and height in the frame,anyone can tell me ? frame.setSize(120, 285); According to my count the value must be : frame.setSize(110,250); thank you denny [code]import javax.swing.*; import java.awt.Color; public class Traffic_Lights{ … | |
Hello good day to all... is there anyone can help or suggest me how my code work successfully. Actually the code was working well, but i wanted to change it`s content to GUI form. the program description was the user must input a word/String and shuffle/scramble the word that the … | |
Early this morning, and I haven't a clue how this slipped by me, I learned about the Android SDK and Python for Android, I did a little research, it's very intriguing. Has anybody worked with this at all? Do most built in libraries and modules work for it? How do … | |
Hi, I am new to Java and just learning GUI's. I was wondering if someone could help me with a project? I am trying to create a questionnaire. It will was the user a question and have radio button answers. After the answer is selected, they will hit the "next" … | |
First off, I am a Java Noob coding in latest version of NetBeans. I am trying to create a program the will allow the user to enter two decimal values: time and earnings in a swing GUI. [B]Basic Flow[/B] [LIST=1] [*]The user will enter the values in two different text … | |
The Board Game I have in mind is Game of the Generals. It's somewhat similar to Stratego, but I'll just give a quick description of the game; every piece has a rank from Private all the way up to 5-star general, as well as a Spy and a Flag. The … | |
Hello, There are many tutortial about it, but all are olds or are for C.. if someone know any FRIENDLY site/forum/pdf to learn c++ please give it, for my c++ window programming is like chines, because there is no any help like in VB/C#/F#/Java and things work totaly diferent, example... … | |
Hello everybody. I am trying to learn how to create GUI for my python programs using Glade. Now I'm facing the following problem : I have written something like the code below, and when I run it everything works fine except secondWindow doesn't show up. What am I doing wrong? … | |
Hi all, For my java class I need to make the game of life. So far I have 2 main classes that drive the program (ignoring GUI class for now.) My main classes: Cell(x, y) - where x = the x coordinate and y = the y coordinate of the … | |
Hi.. I have downloaded a code to add JRadioBuotton to JTable, modified it.Please see the code..What i wanted was to have blank cell...i was getting a NullPointerException for this so i tried adding a JTextBox for instead. When I click on only radiobuttons the code works fine.. if i click … | |
[CODE]public GuiPrototypeScreen1() { GuiPrototypeScreen1Layout customLayout = new GuiPrototypeScreen1Layout(); Object[] possibleValues = { "Search", "Contribute" }; Object selectedValue = JOptionPane.showInputDialog(null, "Do you want to ", "Welcome", JOptionPane.INFORMATION_MESSAGE, null, possibleValues, possibleValues[0]);[/CODE] Hey guys i need help because i am completly stuck. All i want is when a string is selected to redirect … | |
hi.. I'm a new user and I hope you be my new friends.. I have homework to do tic tac toe game allwo 2 player or one player with computer I did this program but I don't study any thing about GUI in C++ and it is order from me … | |
I have not done development work for many years now but I decided to download the new (and free!) Visual Studio 2010 Express C#. I'm enjoying this, but for the life of me I cannot figure out how to data bind controls. Here is my setup: I have a SQL … | |
Hi all, I am having trouble with class communication to reset some textfields through event handling. Any help would be appreciated. Here is a portion of my code. [B]The class that contains the textfields that I wish to use a reset button for:[/B] [CODE]import java.awt.*; import javax.swing.*; import javax.swing.border.*; public … | |
Hello. I recently started studying Java and OOP. I am currently creating a class that writes text to a file in a particular format. I have 'finished' it, and it works, but I am unsure as to the quality of the implementation. This is how it works: * First of … | |
I had a problem.. when I call a frame which is a GUI and push a button which will be disabled.. and my problem was how should it retain the disabled button if the GUI was called again.. please help.. can you give an example.. | |
I have 3 class, 1 for abstract(named Voter) ,1 for the gui components(named LayOut) and 1 for main(named Election). On my main I created an object of the gui class and set the visibility to true and the usual stuffs. but the problem is, on my main I have a … | |
I have all my code done, but it keeps saying no suitable constructor found (close to the bottom on the first code- ProduceInfo pInfo section- line 150) and cannot find symbol (line 62). I have read over this code, searched the errors on the net, and watched videos to try … | |
Can you suggest a program that i can submit? I need your help for suggestions.. any programs that involves GUI.. simple programs could be.. Thank you! | |
hi i am trying to make a CAD program that read a text file which contain a vertecises and number of triangles, which look something like this"the file" : 8 -2.0 -1.5 -0.5 2.0 -1.5 -0.5 -2.0 1.5 -0.5 2.0 1.5 -0.5 -2.0 -1.5 0.5 2.0 -1.5 0.5 -2.0 1.5 … | |
please, i am new to java and have this project on generating a university timetable using genetic algorithm. this software is to be a GUI based software... please can any one give me ideas about how i can go about it... thanks | |
In my application, I have to draw 25 images of 700*500 pixels. I am trying to use ImageIO.read() method, which is called by creating another Thread. Its taking too much time to read images. I thought since i am calling the image read functions by creating another thread my another … | |
Sorry about all the posts; found time and have found time to do programing. Ok I want a usual console application to make a Win GUI window saying thanks at the end of the console app how would I do this eg: [CODE]#include whatever Using namespase std; // what does … | |
Hi there all, I really need help on this one, I went away for a wedding for a week and missed a week of work and now I have a practical due for 1:00 10 tomorrow and I got back today, but I managed to complete all of the programming … | |
So I have this code that has a sum function that sums n elements in a vector [CODE]#include <iostream> #include <vector> // need this in order to use vectors in the program using namespace std; void computeSum (vector<int> &Vec, int howMany, int total, bool success) //the computeSum function that will … | |
The short of it is that I have a widget, with source, written in Tk, specifically an analogue gauge, that I would like to use in a TKinter gui. Is this even possible? If so, how? Thanks for any insight you might have. | |
Hello there. I'm making an airline ticket reservation program using Java and one of the features that I'll be using is a radio button and a combobox. How can I possibly link these two? particularly if the user clicks the "one-way-trip" button the combobox will get disabled. and when the … |
The End.