4,919 Topics

Member Avatar for
Member Avatar for MonsieurPointer

Hi DaniWeb members, I am currently designing a multiplayer Tic-Tac-Toe game. As part of a learning process, I am using asynchronous sockets to prevent the GUI from locking up. The asnych sockets work great and through various examples I managed to get it working as required. Throughout coding the network …

0
68
Member Avatar for je5ter461

below is my current code for a math game i'm having problems creating the answer checking part of it, any assistance is appreciated. [code] import javax.swing.*; import java.util.Random; import java.awt.Button; import java.awt.Color; import java.awt.Dimension; import java.awt.Event; import java.awt.event.*; import javax.swing.*; public class MathPanel extends JPanel { // Declares Labels and …

Member Avatar for je5ter461
0
209
Member Avatar for jackmaverick1

For some reason the file that I input into my GUI isn't being found by Java even though windows explorer finds it just fine. If you'd like to see a specific part of the code, just ask! Thanks in advance, Jack

Member Avatar for jackmaverick1
0
9K
Member Avatar for spunkywacko

I've created an image with PIL, and I'm trying to get it show on a Tkinter GUI, but I get a blank window. Any ideas? [CODE]import Tkinter import Image, ImageTk, ImageDraw #create an image image = Image.new('RGBA', (100, 100)) i = 0 draw = ImageDraw.Draw(image) ## draw some lines for …

Member Avatar for vegaseat
0
3K
Member Avatar for SasseMan

Hi! I'm looking for a way to make an application (app1), separate from another java application (app2), that can acces the GUI of app2 and also listen to all events that are passed to app2. I would like to be able to get hold of the frame of app2 so …

Member Avatar for jackmaverick1
0
155
Member Avatar for psvpython

Hi, I'm working on Python 2.4 and use tkinter to build my GUI. I want to display content(line) from the listbox only when it is selected. [CODE] def get_list(event): # get selected line index index = Listbox.curselection()[0] # get the line's text seltext = Listbox.get(index) print seltext Listbox.bind('<ButtonRelease-1>', get_list) [/CODE] …

Member Avatar for vegaseat
0
3K
Member Avatar for mrgadgets

I want to start develop software in both Java and C++. I am previously develop app for website so I am really not familiar with desktop programming. If we do code in Java, I believe we need a development tool with GUI so which one is the widely use nowadays? …

Member Avatar for Ezzaral
0
107
Member Avatar for mrgadgets

I am a web developer and this is my first time doing coding for desktop program. I am looking for a software development tool to use for c++ which include GUI and be able to pack up and run on windows after I have finished written the program. This software …

Member Avatar for Frederick2
0
186
Member Avatar for ali11

I have no idea what wrong my cods when I press = button of my calculator nothing happens. [CODE]import java.util.Stack; import java.util.Stack; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.math.*; import java.util.Vector; public class Ahsan extends JFrame{ Stack s = new Stack(); private JFrame f; private JPanel p1,p2; private JTextField …

Member Avatar for JeffGrigg
0
767
Member Avatar for mike2828

my program works fine but i dont know why when i debug the program the shapes are coming out without me pressing the buttons [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; public class AnAppletWithButtons extends Applet implements ActionListener { Button button1, button2; int r, g , b; Color color; boolean drawLine …

Member Avatar for mKorbel
0
146
Member Avatar for ckwolfe

Hello I have a simple issue that is not a compilation or runtime issue, but an aesthetic problem that I can't find a function for. Basically I've created a GUI window that visually represents a game board for my Reversi gameboard. I've implemented the GUI and the Reversi gameplay and …

Member Avatar for mKorbel
0
7K
Member Avatar for Lendaanx

Need help getting my add, save, search, modify, delete buttons to work I can get them to show up in the GUI but pressing them does nothing. I need the save button to save file to index.dat in folder c:\\data\ folder and create that folder if it doesn't exist [CODE]import …

Member Avatar for JamesCherrill
0
158
Member Avatar for amture101

hey guys, I'm making a small app that make a Jable and saves the table model then loads the table model and set it to the table interface and both saving and loading is in seperate frames. [CODE] // Saving the info String ufname = Fname.getText(); String ulname = Lname.getText(); …

Member Avatar for amture101
0
130
Member Avatar for Sinnocence

I compiled with py2exe and added the setup.py script because a few people have been having trouble with email.MEME.Text working with py2exe. The .PNG's are attached below save them to your c:/python26/ there isn't much security (passwords are temp stored in a .dat file) ________________________________________________ to: [email]john@email.com[/email] sendcount = 100 …

0
100
Member Avatar for itai.dee
Member Avatar for Narue
0
68
Member Avatar for rrr12345

Hello, I have made a store inventory system in console in C++. I would like to know how can i convert it into full fledged graphical user interface. Any article,book,tutorial,video would be very helpful Thank you.

Member Avatar for rrr12345
0
227
Member Avatar for skootles

I have a C# program that I run on a Windows PC and a camera app running on a Windows CE6 terminal. The two are connected using Activesync 4.5. From the PC app, I want to be able to do the following. 1. Launch the terminal app 2. With the …

0
149
Member Avatar for algrandjean1

Hello all, I am a beginning python user and I am a bit perplexed by something that I am writing up. What I have to do is assign buttons to colors (Traffic lightesque). There is a red, a green and an auto. The tricky part is that the "auto" button …

Member Avatar for woooee
0
281
Member Avatar for pandita

Hello, Everyone I am a beginner with Python, I have to design a simple GUI page which should have a login form, Need Help. Thanks in Advance

Member Avatar for Tech B
-1
92
Member Avatar for mike2828

Hi i am new to java gui, i have trouble using color constructor. please tell me what the problem . thank you . [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass1c extends Applet { Color c = new Color(5,25,205); public void Color(int r,int g,int b); public void init() { System.err.println("Hello from …

Member Avatar for Ezzaral
0
218
Member Avatar for ali11

I did it without using GUI because i am not sure how to do in GUI.I need help to put these code in GUI. [code]import java.util.Scanner; import java.util.Stack; /** This calculator uses the reverse polish notation. */ public class Calculator { public static void main(String[] args) { Scanner in = …

Member Avatar for stultuske
0
277
Member Avatar for quartaela

hi there i am working on a memory game project and my main problem is when i start the game user must not see the icons of buttons, when he/she press on a button then the i con should reveal, but some methods like [CODE].setPressedIcon()[/CODE], [CODE].setRollOverIcon()[/CODE] dont work if i …

Member Avatar for mKorbel
0
292
Member Avatar for Gobble45

Hello everyone at DaniWeb, this is my first post here, so please correct me, if i am wrong in asking this question. Firstly, i had a 10minute search amongst Google, and here at Daniweb. But im not entirely sure what to search for. So my question. i have a Python …

Member Avatar for Gobble45
0
924
Member Avatar for erum

is there any way to set time in asp.net like any gui control like we have in vb 6.0??

Member Avatar for erum
0
137
Member Avatar for Lendaanx

Im new to java and trying to get buttons to work. My next button works as intended however the first and last do not and the previous one only takes me back one space if i'm on the second item. I need the prev button to rotate backwards through the …

Member Avatar for hiddepolen
0
184
Member Avatar for rahulrulez

Hey there. I'm planning to develop a software for my father's business. The software is very simple, it has two tables. 1. Stock 2. Sale Whenever stock arrives, the quantity and content will be added to Stock table.. Structure is something like 1. Stock Table | Brand | Quantity | …

Member Avatar for peter_budo
0
212
Member Avatar for jklasd

I have a problem with getting an input from class A to class B. I already created a method which gets the value but when I call it in class b it returns empty. These are my codes: [B]CLASS A[/B] [CODE] public class log extends javax.swing.JFrame { public String name; …

Member Avatar for Anyday
0
3K
Member Avatar for v_janssens

Hi, In brief, I have written a program in C++ that reads data from a text file, does 'stuff' with that data and then writes the results to a number of separate file. Separately I've written a simple GUI for this program using Visual Basic (allows the user to select …

Member Avatar for mazzica1
1
1K
Member Avatar for danthevan

Hello, I have a weird problem while running my project. I use netbeans and here's my code and the problem is explained after the code. [CODE]/* * NetworkingView.java */ package networking; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; import javax.swing.Icon; import …

Member Avatar for danthevan
0
238
Member Avatar for KenGreen

In an earlier post, Tech-B stated that, other then dialogs, there wasn't 'any "real" GUI support' in Python that uses the Android SDK or SL4A/SAE. Has anyone tried Jython with the Android SDK?

Member Avatar for Tech B
0
375
Member Avatar for ilovejava

hi i started coding battle ship when i was done i noticed that the user and computer always misses, even if they hit, i dont know what i did wrong [CODE]import java.util.Scanner; public class Battleship { public final static String USER = "user"; public final static String COMPUTER ="computer"; public …

Member Avatar for ilovejava
0
2K
Member Avatar for Tcll

ok for one... I must say I'm a noob at classes, but have made some pretty good apps using nothing but functions. I'd like to get into classes though, and every time I try, I end up misunderstanding 1 or 2 things and messing the whole thing up... <:\ can …

Member Avatar for Tcll
0
165
Member Avatar for homeryansta

Hello, I know RIM is pretty much dead, but I need help with some development. I'm currrently developing an app that pushes data to my device. I downloaded some code that was supposedly developed by blackberry called the Emergency Contact List. Here is my issue: The gui isn't popping up …

0
73
Member Avatar for ddanbe

This is not about a DataGridView or something else, it is just about drawing a simple grid in a form window. Googled a bit but found not much of my liking. A Grid as a BitMap in a PictureBox? Come on! Must have been some of those GUI guys I …

Member Avatar for Wazaah
0
1K
Member Avatar for pepyrs

Hello guys, I found a lot examples about this one but I still don't have it all working. So the thing is that I have a button in my C# web application called Export to Excel. The functionality should works as if the button is clicked - it just simply …

Member Avatar for pepyrs
0
162
Member Avatar for rayden150

Hello, im sort of an intermediate programmer that has never installed a library on java before could anyone please tell me how to install this library on java so I could use the charts functionality, Please there are all sorts of folders in there I really dont know what to …

Member Avatar for ~s.o.s~
0
246
Member Avatar for DarkMonarch

I guys! I need a couple of good book titles that can cover the work i need to do. I work in a call center and i need to do some modifications to the GUI, clients, operators and admin. Our platform works on asterix 1.6 with freepbx on top. we …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for loserspearl

I'm working on a random number guessing game with 5 tries that uses standard JOptionPane GUI and 3 methods, the requirements have each method doing a specific task. The main method starts a game is supposed to handle the 'you won' or 'you lost' dialogue and play again if the …

Member Avatar for loserspearl
0
1K
Member Avatar for valestrom

Hey, I was just wondering how I can get it so when I click a button it opens my second form. But sets some of the labels to a specific thing, so I don't end up making 170+ forms for my periodic table application. Just like so when I click …

Member Avatar for triumphost
0
203
Member Avatar for Nandomo

I am doing Gui's on Netbeans and am writing a program that sells flower ornaments and such. I have everything added to an arraylist. But when it comes to showing, I am on another tab and need to pass the arraylist to that method for display, any help? Link me …

Member Avatar for Zaad
0
182
Member Avatar for rotten69

Hey everyone, I have been looking for video tutorials on SWING class and pretty much of GUI side in Java .. I found tutorials on Oracle site but they require lots and lots of reading.. if anyone knows a good site that has videos on GUI, please share it.. Time …

Member Avatar for ceyezumma
0
433
Member Avatar for ben1996123

How do I create a message box that lets me display a variable? I also need to know how to display variables with text. Here is the code in the switch(message) statement that I have at the moment that doesn't work. [CODE] case WM_CREATE: CreateWindow( TEXT("button"), TEXT("Click"), WS_VISIBLE | WS_CHILD …

Member Avatar for Frederick2
0
597
Member Avatar for AQWst

I am new to GUI Java programming and I am attempting to find the best way of creating a frame to contain a series of menus. I am first adding logic to have the date and time appear in the frame, but the way I am doing it they are …

Member Avatar for stultuske
0
421
Member Avatar for ChaosKnight11

Hi, I started with C++ development recently, and I think I'm ready to start building GUIs for my apps. I'm thinking about using Qt, since it is the most popular C++ GUI library, but the licensing is really confusing, and there isn't a lawyer nearby that understands software licensing who …

Member Avatar for Stefano Mtangoo
0
328
Member Avatar for System Jay

I have a custom application that I support and have lately been receiving an error message that has something to do with unauthorized access. When i try to launch the program, i receive the error and the application does not launch. however, if i restart the computer, try to launch …

Member Avatar for mjdodd
0
101
Member Avatar for aanders5

Ok, so basically I made a little image of what is supposed to happen. The goal is that there is a JComboBox, and below it is a Jpanel that updates when different options are selected from the JComboBox, there are about 6-7 different forms/options that each appear when a different …

Member Avatar for mKorbel
0
113
Member Avatar for Dexxta27

This program is supposed to output some shapes using the GUI. I can't get it to actually output the shapes, but the panel shows up fine. Could someone show me what I am doing wrong? This one does the Panel and all that other stuff. [CODE]package pregui; import java.awt.Color; import …

Member Avatar for JamesCherrill
0
136
Member Avatar for valestrom

So I'm making this periodic table application, and spent an hour laying it all out. Perfectly I must add. Now I'm trying to figure out how to get it so when I click a button it opens the new form (Have this done) and replace the value of some labels/textboxes …

Member Avatar for valestrom
0
214
Member Avatar for bd338

I'm running Mac OS X Lion on my 64-bit MacBook, and I can't run any of the QT Jambi applications I create. Here's the code of the test program I'm trying to deploy. [CODE]import com.trolltech.qt.gui.QApplication; import com.trolltech.qt.gui.QPushButton; public class GUI { public static void main(String[] args) { QApplication.initialize(args); QPushButton b …

0
93
Member Avatar for alteran

I'm having a problem with adding the name, dob month, dob day, and dob year to a binary search tree from the information from the GUI. This has to happen after the "Add Person" button is clicked. I should add it inside the brackets of the "if(e.getSource() == addPersonButton)" statement, …

Member Avatar for JamesCherrill
0
192

The End.