4,919 Topics

Member Avatar for
Member Avatar for harinath_2007

hello I developed a chatting application with GUI. when the TextArea is full and if any new text is added, the JScrollBar will not scroll down automatically. I struggled a lot to make it scroll automaticaly but ended with dashing hopes how to make the JScollBar to scroll down automatically. …

Member Avatar for JamesCherrill
0
105
Member Avatar for shyla

i need to do the second part of the assignment and i cant solve it, i need to do it gui, this is what i have so far [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 EmployeeExceptionDemo { public partial class …

Member Avatar for shyla
0
136
Member Avatar for shyla

i am having a problem to write the code for a project that i have i need to get the label to the picture attached to count how many oval and rectangle are in the picture i have the code for the rest i just cant figure how to arrange …

Member Avatar for JamesCherrill
0
274
Member Avatar for lynnajoe

Hi, I have checked examples and tutorials but never seem to get a direct answer to a couple of questions. When using a Gui with a JButton (Netbeans)where does the code for the array go in order to be displayed? Here is the code for the array and I just …

Member Avatar for JamesCherrill
0
97
Member Avatar for srw0801

Hello, so I'm fairly new to python and I have become stumped on this one problem. As much as I would like you to solve the problem for me, I do not want you to do so without explanation, I would much rather have a step by step procedure. After …

Member Avatar for srw0801
0
442
Member Avatar for shyla

i am trying to solve this question, second part of it 5b and is very confusing i cant show all the details on the form on the form [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 EmployeeExceptionDemo { public partial class …

Member Avatar for ddanbe
0
166
Member Avatar for Tellalca

Hey; I'm trying to do a hang man game in Java. I newly learned some stuff about programming some GUI using Swing and AWT, but I'm not still clear with it. The problem is that all the drawing is done by a single function paintComponent() from the JPanel that I …

Member Avatar for mKorbel
0
178
Member Avatar for shyla

I am trying to solve the second part of this question this is what i came so far i do it on GUI and when i push the button nothing happend [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 EmployeeExceptionDemo { …

Member Avatar for shyla
0
85
Member Avatar for kiranbkrishna

Hi all, i was writing a gui for a small desktop application i made as a part of learning python.I use python 2.7.I used Tkinter.I am new to python and this was my first trial with Tkinter. First i created 9 buttons arranged in the form of a 3*3 matrix …

Member Avatar for TrustyTony
0
370
Member Avatar for CorruptionInc

I have to create a Pizza GUI that shows pizza size choices and topping choices for pepperoni and mushrooms and then calculate the total. I'm having trouble constructing the GUI. Down in the createCenterPanel method Eclipse is tell me that radioButtonPanel, checkBoxPanel, and pricePanel cannot be resolved to a type. …

Member Avatar for CorruptionInc
0
5K
Member Avatar for Taimoor Rana

Hello, I'm currently looking for a book the covers "how to develop a game". I have basic knowledge of Java. I know: arrays,classes,GUI,basic animation with Timer class,basic graphic. I want to move on and start learning threads, collitions, keyboards and mouselistener and all other game related topic... I was wondering …

Member Avatar for Taimoor Rana
0
179
Member Avatar for Nybuler

Hello all, i'm building a register page for my forum my problem faced is i can't disable the DAMN Button! while the user input duplicate or wrong format ! Pls help me! T^T [CODE]<?php include 'dbconn.php'; include 'Header.php'; ?> <form name="frmRegisteration" action="Register.php" method="post" onSubmit="return DataValidator()"> <?php $name = $_POST['txtname']; $password …

Member Avatar for Nybuler
0
147
Member Avatar for yancouto

I'm creating a silly game, and the first thing I want to make is to tell you "You Lose" if the all that you control with the mouse is not inside the frame. I created a JComponent and every 20 milliseconds it is repainted (A thread does that). Inside it, …

Member Avatar for hanvyj
0
1K
Member Avatar for shyla
Member Avatar for Wegginho
0
56
Member Avatar for shyla

i am trying to solve that assignment and this is what i have so far [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 CarInsurance { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, …

Member Avatar for pseudorandom21
0
184
Member Avatar for Dbznut

I've got a older monitor (it's most likely pre-2000, or close to) and when I first power it on, it fragments. The cpu information and windows version screens turn choppy, and seem to move up the screen. It also emits a high pitched whistle. Both problems disappear when: A:I turn …

Member Avatar for rubberman
0
169
Member Avatar for MoZo1

Ok, so I want to port my code to windows mobile, and I'm looking for a tutorial. I would like compatibility with WM5, and WM6 is a must. So I'll use the embedded whatever. I've got Visual Studio 2k8 and the 3 addon required to do the job. I've also …

0
148
Member Avatar for BobFX

Hi, I have a stream server application written in C, that I need to incorporate in a GUI C++ managed new program, but I am having trouble finding the equivalent of the C sockets function calls. The C apps initialize this way: [code] /* * Init socket */ if ( …

Member Avatar for BobFX
0
475
Member Avatar for SWEngineer

just have those questions about those code sinppets from the C++ GUI Programming with Qt 4 book: GoToCellDialog::GoToCellDialog(QWidget *parent):QDialog(parent) Does that mean we are inheriting QDialog(parent)? Or, what exactly does this mean? setupUi(this); Here, this code snippet is part of the gotocelldialog.cpp file, which is the implementation of gotocelldialog.h header …

Member Avatar for L7Sqr
0
174
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
351
Member Avatar for imperialguy

I want to limit the size of a list control box. Let us take the following code: [code] import wx class Students(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(380, 230)) hbox = wx.BoxSizer(wx.HORIZONTAL) panel = wx.Panel(self, -1) self.list = wx.ListCtrl(panel, -1, style=wx.LC_REPORT) self.list.InsertColumn(0, 'name') self.list.InsertColumn(1, 'age') hbox.Add(self.list, …

Member Avatar for richieking
0
245
Member Avatar for MrHardRock

Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary …

Member Avatar for cretaros
0
155
Member Avatar for lookuta2011

hi guys am new to java and i have to display rotating images on a gui and use multithreading to alternate the four images. and i managed to create the gui but the images are not visible. the rotating images must be in the center of the frame. help..

Member Avatar for JamesCherrill
0
103
Member Avatar for Chitru

i was coding GUI in Java. i'm just a beginner and i can't figure out on what program is mistaken please help me on this: [B]Compilation error is:[/B] helloworld\FourthApp.java:38: class, interface, or enum expected public static void main(String[] args) { ^ helloworld\FourthApp.java:40: class, interface, or enum expected } ^ 2 …

Member Avatar for masijade
0
649
Member Avatar for shyla

Hello, i am trying to solve that problem, it was already due for my class, an i am disappointed that i wasn't able to solve it can any body give a descent solution for that Q: The tiny tots tee-ball league has 12 players who have jersey numbers 0 through …

Member Avatar for abelLazm
0
280
Member Avatar for BobTheLob

Hello, I think I have the right location for this thread. I'm working on a C++ project where I need to create a GUI. I'm using wxWidgets, which is cross platform compatible. Now I know that Cocoa/Objective-C/not C++ is the option of choice for GUI programming on the Mac, but …

Member Avatar for daviddoria
0
338
Member Avatar for weasel7711

I wrote a program to analyze a log file for a machine that my company repairs. The program that runs the machine spits output into a text file (.log) and my program will analyze it and return the results of different calculations to the user. The log file idealy looks …

Member Avatar for weasel7711
0
460
Member Avatar for kent5244

Hi, I have some basic knowledge in programming however it is not enough to solve the problem I faced currently. So I would like to ask for the pros for guild and help. I have attached the print screen of my program's GUI 1)From the GUI, the combobox next to …

Member Avatar for kent5244
0
2K
Member Avatar for rjdelight

I have a simple text file that I am reading the contents of in a GUI. It's a simple program that enables a user to browse the file and add to it if needed. I have this part running fine, but I'm having some difficulty reading just the first word …

Member Avatar for Slyvr
0
2K
Member Avatar for levic22

Hi im trying to write some GUI using wx.python and im nto sure how to do what i want. i have readibotton to choose an operation to execute. i want to have a list of machines which i will need to choose so the action will e done on them. …

Member Avatar for woooee
0
87
Member Avatar for ggyyree

Hi there, I have got a problem confused me. I use IntelliJ IDEA to write a small GUI program with images and icons. If I run it using the IDE, it perfectly runs. However, when I try to start the program from command line, it runs without showing the images …

0
54
Member Avatar for TailsTheFox

Hello, I'm looking for an easy way to wait for a keypress in a non-gui application. Example: I press A, program says "You pressed A" I AM NOT LOOKING FOR STRINGS AND ENTER! THIS NEEDS TO WORK FOR THE ARROW KEYS!

Member Avatar for rubberman
0
106
Member Avatar for aanders5

Ok, so I have images for my applet, but when I upload it online, none of the images appear. When I add an image, they are all Image Icons for Labels, and I just browse to the folder on my desktop, selected the image, and hit ok. It then shows …

Member Avatar for aanders5
0
152
Member Avatar for MrHardRock

Hey everyone, I am writing a GUI that allows a person to enter all their own numbers into an array, then they can search the array for any number they want. I have it almost completely written except for two compile errors I can't figure out The first one is …

Member Avatar for mKorbel
0
172
Member Avatar for smokin745

Hey guys, this is my piece of code from a GUI that i am building, in which i have a button "Delete Row" and a table besides it which has, let's say 2 rows and 4 columns. Now when i select one of these rows, and press the "Delete row" …

Member Avatar for mKorbel
0
160
Member Avatar for rjdelight

I'm trying to display some text in a JTextArea I have set up in a simple GUI. Easy right? That's what I thought, but I'm clearly not that advanced at Java. The hook is the information I want to display in the JTextArea is in a text file (file.txt). Right …

Member Avatar for mKorbel
0
1K
Member Avatar for smokin745

I have implemented the addActionlistener for the Add Contact button in this GUI setup (please try running this code in your computer to know what i am talking about) and when i click on Add contact, the new frame pops up, i enter the details in the New contact frame, …

Member Avatar for smokin745
0
180
Member Avatar for SMITA6076

[B]For the error and my question, skip to the bottom. I just posted all of the code in case it's needed.[/B] [CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and …

Member Avatar for SMITA6076
0
254
Member Avatar for yancouto

Hi everyone, I'm trying to create a program that you can use to communicate to other people with the same program. It connects to a Server program that gets your message an send it to everyone. I found 2 problems that I haven't been able to solve. The first one …

Member Avatar for yancouto
0
798
Member Avatar for levic22

HI im having some trouble to create new GUI using python Tkinter module. [CODE] from Tkinter import * import Tkinter as tk import tkMessageBox import tkFont class GUIFramework(Frame): """This is the GUI""" def __init__(self,master=None): Frame.__init__(self,master) self.pack(padx=100,pady=100) self.master.title("Lab Management Hosts") self.costumFont = tkFont.Font( family = "Helvetica", size=30, weight="bold") label = tk.Label(master, …

Member Avatar for vegaseat
0
837
Member Avatar for toadzky

My program talks to a USB device over a serial connection. I have WMI ManagementEventWatchers watching for the device to be plugged in and unplugged. If I try to enable, disable, or change anything about the GUI from the event handlers for the WMI Events, I get a InvalidOperationException because …

Member Avatar for toadzky
0
240
Member Avatar for rjdelight

Hi all, I'm trying to get the information from a text file to show up in the JTextArea I have in a GUI. I'm using the GUI editor in NetBeans, because I'm a Java newb. I've been reading a lot of things on the web and can't seem to figure …

Member Avatar for sirlink99
0
3K
Member Avatar for Silvershaft

What do you think is the best, I've heard that wxwidgets isn't really the best one? Give ideas please, thanks in advance!

Member Avatar for Stefano Mtangoo
0
468
Member Avatar for Talguy

I am spliting my soft real-time application into two processes, one is the gui and the other is the hardware communications. I would like to to have both processes monitor each other as they send data back and forth. When one detects that the other has crashed it will launch …

Member Avatar for L7Sqr
0
78
Member Avatar for kacieh80

My boss says we are going to be creating "some cross platform windows type apps that will be used for utilities and some user things" and he is interested in using Python. I have used Python and love it, but only with a web framework and low level scripting. I …

Member Avatar for e-papa
0
407
Member Avatar for jeffcogswell

When I first started working on this article, I was originally planning on reviewing a different product, a new project from Eclipse called Orion. However, it turns out that project just isn't ready for prime time. It's still in a very early stage, and I don't feel I would do …

Member Avatar for jeffcogswell
0
517
Member Avatar for MWE_QUE

This JFrame opens and puts in the empty questions and answers when it starts as it should, but it doesn't print the questionList.size() at line 191. The next button also won't go to the next question which should be retrieved from the text file. I'm not sure if the questionList …

Member Avatar for MWE_QUE
0
239
Member Avatar for ajayb

I am doing a GUI in swings using Netbeans IDE. I have two frames AudioVideostreaming.java Audiostreaming.java There is button called "Audiostreaming" in AudioVideostreaming.java file. When this button is clicked I want that the AudioVideostreaming.java frame is closed and Audiostreaming.java frame is opened. What code should I include in AudiostreamingbuttonActionperformed() method …

Member Avatar for Ezzaral
0
105
Member Avatar for jasperFernandes

Hi, i wanted to create a JTextField to receive the user input instead of having the user key in the input through the IDE console. This is my code. Now, my code just runs fine if the user key in the inputs through the console. After running the code, the …

Member Avatar for mKorbel
0
2K
Member Avatar for Jaily

I'm trying to make a digital clock in Java. The program is at the end going to be an alarmclock. So far I've made 3 classes: Main, Clock and Time. Main only creates an object of Clock. Time handles the javax.swing.Timer function for the clock. And the Clock creates a …

Member Avatar for mKorbel
0
491

The End.