4,919 Topics

Member Avatar for
Member Avatar for Rajnesh

I was creating a chat application in Java Swing/Socket Programming. The same when I created in non GUI app. it worked [url]http://www.daniweb.com/code/snippet448.html [/url]. But in GUI, they can't connect now. I have tried it thru many ways but still m getting errors for connection. Can anyone can help me...... /********************* …

Member Avatar for anthonydonx
0
260
Member Avatar for chinee

I don't understand why my labels are not coming up when i run the code are the JComboBox to big or what? [CODE]import javax.swing.*; //import javax.swing.AbstractButton; import java.awt.*; //import java.awt.event.ActionEvent; //import java.awt.event.ActionListener; public class floralOrderGUI { JButton submitButton = new JButton("Submit"); public static void main(String[] args) { new floralOrderGUI(); //system.exit(Q); …

Member Avatar for NormR1
0
90
Member Avatar for lewashby

[CODE]# create GUI app = Tk() app.title("Head-Ex Deliveries") # create a label Label(app, text = "Depot:").pack() # add to Tk app window # create a text entry depot = Entry(app) depot.pack()[/CODE] I understand and have been told that placing the instance name(app) as a parameter of Tk methods and other …

Member Avatar for TrustyTony
0
278
Member Avatar for Goalatio

Hello everyone, I've spent most of today working on a 16-bit interactive interface, and thought it'd be nice to share it with you all. :) Notes: Assembled with NASM16 Has only been tested on Windows XP and Windows 7 There is A LOT of code that needs to be posted …

0
84
Member Avatar for Member 785010

Hi, everyone! I'm new to python, and I'm having a few issues getting started with writing useful code on mac OSX. I'm wanting to import a module, either wx or pygtk for GUI, but in either case I get the error that there is no such module. As far as …

Member Avatar for Beat_Slayer
0
148
Member Avatar for youngmoolah

Hi I am new to delphi and I am trying to add a new form to an existing MdiApp program which links to various SQL tables The existing buttons that move the user from one form to another have the OnClick event (CmdBeginTestingClick). This OnClick event automatically attatches the following …

Member Avatar for Wolfgan
0
365
Member Avatar for blah32

Is there any built in functionality in python as to rename files smartly in windows. I am using os.rename to move files to a higher directory. The problem is, the directory I move the file to could have a file that has the same name. I want to do what …

Member Avatar for blah32
0
135
Member Avatar for lewashby

I'M getting error below when I run the following program code. It's with the following function. [COLOR="Red"]fileD.write("%\n" % depot.get())[/COLOR] [COLOR="Red"]Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__ return self.func(*args) File "/home/developer/Projects/Head First/Chapter 7/Head-Ex.py", line 7, in save_data fileD.write("%\n" % depot.get()) ValueError: unsupported format …

Member Avatar for TrustyTony
0
176
Member Avatar for garymac09

I've posted this over in the vista thread as well, hopefully it won't be considered spamming, but I really need some ideas on this... I'm desperate..... I have a Vaio laptop running vista, it started having problems starting up, so I diagnosed it as a faulty HD and replaced it. …

Member Avatar for caperjack
0
151
Member Avatar for angel_eyez

Hi I'm new to C# and need help. i want my listbox updated when it collect as many logs. The application at the background is still working but the GUI is not as responsive. I tried it with the thread also but got the error "Cross-thread operation not valid: Control …

Member Avatar for Lusiphur
0
115
Member Avatar for garymac09

this may or may not be a problem related to Vista, but this hopefully someone will have an idea on this... I have a Vaio laptop running vista, it started having problems starting up, so I diagnosed it as a faulty HD and replaced it. Managed to copy the partitions …

Member Avatar for garymac09
0
147
Member Avatar for DaveTran

I've got a helper class to convert an enum into a list. [CODE] class EnumHelper { public static List<T> EnumToList<T>() { Type enumType = typeof(T); // Can't use type constraints on value types, so have to do check like this if (enumType.BaseType != typeof(Enum)) { throw new ArgumentException("T must be …

Member Avatar for DaveTran
0
103
Member Avatar for sitajaf

Hello, am new to the real programming but i have very much interest. As a first real java project am trying to develop a P2P network application which can be used for chatting, but the problem is: Should it load as a server.and if so how do i get it …

Member Avatar for Stefano Mtangoo
0
180
Member Avatar for haro2x

Hello I have made a simple gui tic tac toe game using glade and python 2.6/ Now I want to change the text of the button when i click it. Does anyone know how to do this?? code: [CODE]#!/usr/bin/env python import gtk import gtk.glade import sys class iksoks: wTree = …

Member Avatar for haro2x
0
153
Member Avatar for prakashsd

Hi there, I have put together an accordion menu using css, html (ul, li tags) and javascript. I'd like the arrows on the collapsible menus should change state depending on if they're open or not. The triangle turner should point right when the content is closed and can be opened. …

Member Avatar for fxm
0
144
Member Avatar for anders10

Hi! I have a problem with getting an arraylist to work within a JList. I have posted 5 classes; a GUI class - GrafikInl6, a class with most of the methods - Functionality, and then an abstract baseclass Runner6 with the two subclasses EliteRunner6 and Jogger6. My problem is the …

Member Avatar for NormR1
0
187
Member Avatar for cela0811

I am new to Java, and I am working on a program that functions as a calculator. I have the code for the calculator written, but I need to make a GUI for it, because as of now the only way I can see output is by running it within …

Member Avatar for NormR1
0
64
Member Avatar for c_shaft05

So here's the scoop: The company where I work has a few GUI-based Java programs that runs crazy fast in Windows XP. Upon upgrading 6 machines to Windows 7 (and yes, we definitely exceed the requirements to run Windows 7 on our machines), these Java programs run significantly slower (For …

Member Avatar for c_shaft05
0
2K
Member Avatar for ppotter3

Hello! My name is Page, and I am learning how to code in Java. I am working on a program, and it was homework at one time, but the assignment due date is passed. I would just like to get it going so I can learn from my mistakes, and …

Member Avatar for NormR1
0
727
Member Avatar for gingerfish

Please help me =( I'm not native english speaker, therefore some things might be not clear here I have 2 separate files: [B]Main.java[/B] and [B]Open.java[/B] inside [B]main.java[/B] there is a GUI and it has a [B]JTextArea[/B]) where i want to show text (variable) called from [B]open.java[/B] in [B]Main.java [/B] i …

Member Avatar for adams161
0
3K
Member Avatar for vegaseat

The wxPython GUI toolkit makes a very nice plotting component/widget available. You can select line or marker plotting, or a combination of both. All you have to supply is a list of x,y point tuples. Other features include zooming and printing.

Member Avatar for aernie
1
2K
Member Avatar for trelek2

Hi! I'm writing a Java simulation of a physical system. I wrote the whole simulation without any problems and later decided to add very simple GUI to paint the current sate of the system after each iteration. This is where the first problem occurred. After creating my JFrame and JPanel …

Member Avatar for trelek2
0
200
Member Avatar for mihir.p

We are planning to make a commercial GUI based software (for both desktop and mobile) targeting individual users. We plan to have good web 2.0 like rich application features (Google like dynamic auto suggest, drag and drop, browser based look and feel etc) and lot of user controls (trees, grids, …

Member Avatar for ~s.o.s~
0
171
Member Avatar for RaniThomas

Hi All, I need to write a class to draw and add some components on frame like images,rectangles. I have a class which is already written by some other person, and now i need to add 14 adjacent rectangles on the existing frame. [CODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; …

Member Avatar for NormR1
0
332
Member Avatar for j1979c

[COLOR=Blue]Hello.... I'm currently using Netbean 5.0 and I just want to add some GIF files to my program when it builds. I'm using the files as icons for some of the GUI buttons and labels. But when I select clean and build main project or build main project and execute …

Member Avatar for peter_budo
0
2K
Member Avatar for mohamedhassan

hi.. now i'm trying to use the openfiledialog in a gui app .. what i have done till now is that 1. open visual stdio 2008 2. select c++ project 3. select windows application project 4. drag the openfile dialog from tool box and drop it on the form .. …

Member Avatar for jonsca
0
129
Member Avatar for Victor C.

I am having a problem with my final assignment. Now it began with an apology from my prof on the said assignment because for the pass 9 weeks we have done projects that has focused on a small part like change colors, stream, inheritance, etc. Now the final is to …

Member Avatar for baris115
0
115
Member Avatar for dani_member

Hello Daniweb users, I am developing a small client for messaging, the messaging part is okay! :) Now the problem is with the GUI. I want to implement a "tabbed chat interface", similar to that of MSN or iChat. I am implementing a JTabbedPane for each "window". My problem is, …

Member Avatar for dani_member
0
415
Member Avatar for sandorlev

Hello, guys! I've written a GUI for a program. It's written like shit, the goal was to get it done fast. Well it didn't exactly work out, so when I refresh the data, every label disappears. Here is the code: [CODE] class GUI: def __init__(self, master): self.master = master self.label …

Member Avatar for TrustyTony
0
10K
Member Avatar for RaniThomas

Hi All, I hv written a java swing class in Eclipse IDE. i hope the code is 100% correct but when im running the class, the error message is displaying in the console. As [COLOR="Red"]Exception in thread "main" java.lang.NoClassDefFoundError: com/cname/lct/madm/gui/madmplugin/rani/ConfirmExitDialog[/COLOR] Below is my code [CODE] package com.cname.lct.madm.gui.madmplugin.rani; import java.awt.*; import …

Member Avatar for RaniThomas
0
327
Member Avatar for teckforce

I have used Cisco products for years, from Ciscoworks, WLSE, ADSM, web interfaces on various hardware products, ACS, NAC appliance, mobility engine with IPS, CSM, and etc. but they seem to all have issues or otherwise prove to be more headache than what should be acceptable. What is wrong with …

-2
40
Member Avatar for Buolbear4444

I am trying to set up the GUI Library FLTK but cannot find a way to set it up for MSVC++ 2010 Express. I looked on Google but failed to find any tutorials on doing this. I also tried CMake but ended up with an error in CMake and an …

Member Avatar for jonsca
0
149
Member Avatar for pinsickle

I just have a quick question. I am working on a program for a friend of mine, more specifically a program that keeps track of stats of characters makes rolls etc. for DnD. Anyway, I am going to save the data using Serialization and keep the data together via a …

Member Avatar for JamesCherrill
0
128
Member Avatar for u8sand

Hello, Recently I've been doing some Windows API programming and I came across a problem. I want to make a console program that accepts commands, when the command 'win' shows up it will create a window with some automated features. Lets say I had a command sendfile [file-path] [where]. I'd …

Member Avatar for nbaztec
0
194
Member Avatar for gruffy321

Hey all , Thanks for reading this and sorry to be on the take, as it were :) Please could someone point me in the direction of a tutorial that covers a credit calculator for student points.... i can design the gui but dont know enough to get the combo …

0
89
Member Avatar for Kruptein

I'm looking for people to test a program, I've just finished the rewrite of a program and I need people to test for bugs etc... It's a program for developers written in python and wxpython-gui-toolkit It's made with the aim on linux, although windows-testers are welcome as well link: [url]http://launchpad.net/d-cm[/url] …

Member Avatar for Kruptein
0
92
Member Avatar for web3

Can anyone tell me what GUI to use? And is there a GUI similar or same like standard library? Thanks in advance.

Member Avatar for Stefano Mtangoo
0
213
Member Avatar for patispatio
Member Avatar for meepokman

Hi guys, I'm currently trying to produce a facial detection application, but I seem to have some problems. My program, is able to recognise multiple users, and match their captured image to one saved in the database. However, if a person who has not registered is photographed, it is supposed …

Member Avatar for meepokman
0
449
Member Avatar for nizuya

In an html form, I want a certain field to be invisible when "no" is checked and visible when "yes" is checked. This is my code: html: [code] <form action="pageName.html" method="post" name="formName"> Question? <input name="radioBool" type="radio" value="1" onchange="dispField('textInput');" />yes <input name="radioBool" type="radio" value="0" onchange="dispField('textInput');" />no <br /> <span id="textInput" style="display:none"> …

Member Avatar for nizuya
0
326
Member Avatar for teomurgi
Member Avatar for bigtalk
0
93
Member Avatar for Zhoot

Heya. I require assistance regarding one of my Java programs. As the program is rather large I'm unable to post the source. The problem, My program will not start once I try to execute the Jar file associated with the program. Platform, Netbeans IDE 6.8 Description, I've written this program, …

Member Avatar for NormR1
0
101
Member Avatar for andydeans

Hi , i have used some gui tools to generate my php code from database and i need some help with the search form. basically the tools only created the search of dates in US format so someone had to write a cusotm function for it to display as UK …

Member Avatar for sergb
0
101
Member Avatar for avanish_yadav

I require to make a good user interface for my image viewer tool. Could anyone advice me how can i achieve so in C#. So far I have been using swings in java but this time I'm supposed to code in C# only and being a newbie to C# I'm …

Member Avatar for bbman
0
86
Member Avatar for gabec94

Hi, I just finished up AP Computer Science a few weeks ago and decided to write an app that allows me to quiz myself with vocab words and definitions, it works fine while I'm running it in IDE, but when I make it a JAR it refuses to open (I'm …

Member Avatar for gabec94
0
156
Member Avatar for htetnaing

Hi everyone, I have been reading this forum a lot lately and I just decided to have an account for myself. I have been thinking of creating something like fingerprint recognition. Nothing fancy but the system must be able to determine whether 2 fingerprints are the same or not.I have …

1
48
Member Avatar for tungnk1993

I'm pretty new with VB.net and I'm working on a project modelling the traditional FlashCard to learn words. What I want to do is to replace existing buttons and forms in Visual Studio with my own photoshop version. FYI, I'm not familiar with WPF yet but I'm willing to learn. …

Member Avatar for tungnk1993
0
118
Member Avatar for moman1981

I have been working on a tic tac toe game for a couple of days. And I just realize that I needed to do a GUI for it. With the following code, would it be fairly easy to add a GUI to this? and if so, what would be the …

Member Avatar for NormR1
0
363
Member Avatar for tehbrozor

Hello! I am trying to display a FITS image, if your not familiar with the extension its fine (gtk.Image.new_from_file() isn't either). I can get my image data to a numpy array (2D (256x256 to be exact)) I am having the most difficult time getting this into a grayscale image. I've …

Member Avatar for tehbrozor
0
246
Member Avatar for BuhRock

I have to write a program that creates a GUI and asks the user to select from a group of buttons which time of the day they made the call, and input in a text field how many minutes the call was. for the day time, it's supposed to be …

Member Avatar for NormR1
0
765

The End.