4,919 Topics

Member Avatar for
Member Avatar for coffeebox

I know it seems that everyone is writing a 'backup' program these days. I started working on this a couple weeks ago and now my dream just keeps growing. I have written a script that uses rsync to backup selected files and folders in my home directory to an external …

Member Avatar for ov3rcl0ck
0
209
Member Avatar for Voulnet

Hello all, I am a Computer Engineer, fresh off graduation, and I would like to educate myself on a broad range of technological fields and aspects. I am the kind of person who is easily distracted while reading from a screen, and so I would like to ask fellow daniweb …

Member Avatar for Voulnet
2
197
Member Avatar for zaraf

Dear All, Lately I had been using a color sensor to read some colors in terms of RGB and XYZ values. The sensor is supplied with a GUI on which I could view the results. The sensor consists of a chip with a microcontroller (i dont know which one) and …

Member Avatar for Premlal
0
111
Member Avatar for jh9t

Hi, Daniweb I am stuck on my hangman game project, I don't know where to start with my last four methods [code] import java.util.*; import java.awt.*; import java.applet.*; import java.io.*; import java.net.*; public class Hangman() { final int maxTries = 5; final int maxWordLen = 20; char secretWord[]; int secretWordLen; …

Member Avatar for mellowmike
0
114
Member Avatar for pmav99

Hi everyone. I have a problem with a GUI application i have written with wxPython when i run it under windows. The strange thing is that the code runs exactly as expected in Linux... What the code does: It calculates the area of bars of reinforcement and it checks if …

0
73
Member Avatar for stevee1984

Hi all, and must say a great looking forum! I wish to start developing c++ apps on Linux and would like to know what GUIs are supports out of the box on Linux, especailly the main distros anyway? QT, KDE, GTK, etc? I basically want to write gui apps that …

Member Avatar for stevee1984
0
123
Member Avatar for ngnt4

[CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TravelExpenses extends JPanel { private JTextField days; //declaring textfields and labels private JTextField lodging; private JTextField airfare; private JTextField taxiCost; private JTextField miles; private JTextField rental; private JTextField seminarFees; private JTextField parkingFees; private JLabel daysL; private JLabel lodgingL; private JLabel airfareL; private …

Member Avatar for ngnt4
0
114
Member Avatar for nevets04

As The title says pretty much, auto resize and auto format are making this very hard for me to make GUI, can I turn it off?

Member Avatar for Ezzaral
0
85
Member Avatar for stayfierce

I am trying to run a source code that I downloaded. However, there are several error message in reference to the classes TablePanel, BufferedPanel, Stringable, and Booleanview. I am not sure why I am getting these errors because it is a complete source code. Do I need to import additional …

0
57
Member Avatar for gunjannigam

My problem statement is to draw a map from the given images whose Latitude and Longitude information is stored in database. Initial point Latitude and Longitude is given and then they will change in every 200 ms. I have to plot a map once and on top of the map …

0
64
Member Avatar for cwarn23

Hi and I found a script at the below website but appears not to work for me. I'm using the Netbeans IDE and Java Version 6 and the link where I found how to use cookies in Java applets is at [URL="http://www.rgagnon.com/javadetails/java-0180.html"]http://www.rgagnon.com/javadetails/java-0180.html[/URL] However my partial script below (snipped chunky code) …

0
94
Member Avatar for P00dle

Hi all, I've been google'ing my backside off in search of a good example/tutorial for java gui's. Could anyone supply me with a link to a website that could supply a tutorial and/or some examples? Would be great, thanks. P.S. I use Eclipse, with no GUI editors, so I need …

Member Avatar for jbennet
0
379
Member Avatar for SoulMazer

Okay, so I am writing a media player and I would like to be able to control the entire thing without the use of a GUI. So...are there any libraries or anything that would allow me to collect keystrokes on any OS (not just Windows)? Thanks in advance.

Member Avatar for Tech B
0
235
Member Avatar for nertos

Hi, i have a little problem, i dynamic generate a buttons in two columns [CODE=c#] for(i=0;i<=10;i++){ Button prz = new Button(); prz.Location = new Point(12,40+i*25); prz.Name = "But"+(p-i)+"up"; prz.Image = Image.FromFile(picture_from_file_1); prz.ClientSize = new Size(20,20); prz.Click += new System.EventHandler(this.Button_Click_Code); Controls.Add(prz); Button prz1 = new Button(); prz1.Location = new Point(45, 40 …

Member Avatar for nertos
0
354
Member Avatar for SoulMazer

So, I have a script that needs to "clean up" when it is exited: it needs to clear a special logging file and other small things that affect the next startup of the script. The script has a GUI written in Tkinter, if that is relevant at all. Is there …

Member Avatar for SoulMazer
0
103
Member Avatar for coffeebox

I am beginning to work on the GUI for a project I have been working on for several weeks now. I would like the application to end up being cross platform, and I prefer not to have to manually code the whole GUI so I decided to work with BoaC …

0
48
Member Avatar for bkpally263

hey everyone, I am working on a project where I have a C++ library (a precompiled library ) that would be used in my application. My application is a Windows based console application.I am working on VisualStudio 6.0. I would like to add GUI to this application of mine. Could …

Member Avatar for Ancient Dragon
0
149
Member Avatar for SoulMazer

Okay, so I'm having a little trouble. Let's say I run "scriptA.py" and it has a GUI (Tkinter) and it is running in its mainloop. I want to create a "scriptB.py" that can end "scriptA.py"; would there be a way to do this regardless of the OS it is on …

Member Avatar for SoulMazer
0
269
Member Avatar for Silvershaft

I got a plenty of free time now and interested in GUI developement, I got expirience in C++, thats not the problem. I've done apps in wxWidgets before which I got bored to. Would it be learning to learn winApi or do you guys got better suggestions, as I said …

Member Avatar for William Hemsworth
0
159
Member Avatar for Carrots

Hi, I've been learning C++ these last few months, but never tried to make a GUI before. I've wrote a program in C++ which works via the command line, but now I'm trying to create a GUI for it (MFC using Visual Studio 2005, XP host). When I add an …

Member Avatar for Carrots
0
140
Member Avatar for prakashmishra84

hi guys.. i need ur help badly . i need to implement the following project in c++, using oracle 9i as backend. but i dnt have any clue .. whr to start frm and how. please suggest me a possible lay out for this requirement. and i have also an …

Member Avatar for vyas lal yadav
0
146
Member Avatar for .11

Hey I want to simulate a knight moving in my Knight Tour Gui, this is the display code, the moves are stored in the arraylist moves. [CODE] public void display() { for(int i = 0; i < moves.size(); i++) { //Gets the correct button JButton button = square.get(moves.indexOf(i+1)); button.setText("" + …

Member Avatar for adams161
0
104
Member Avatar for NewbieProgram

I'm having problems generating CPU turn; preferably with AI, and also draw between player and CPU. [CODE] jButton1.setEnabled(false); boolean Userturn = true; JLabel[] label = new JLabel[9]; label [0] = jLabel1; label [1] = jLabel2; label [2] = jLabel3; label [3] = jLabel4; label [4] = jLabel5; label [5] = …

Member Avatar for adams161
0
760
Member Avatar for tabooxchanz

Fellow Java Coders, I recently got a project to do for my coursework in university which requires that me and my group members simulate a file manager similar to windows explorer but I guess not as complex. Here is a synopsis of what is required: The members of this group …

0
61
Member Avatar for Stefano Mtangoo

I'm new to Java, but will eventually want to use GUI for my Desktop applications. So as usual in any language, GUI toolkits are "debatable". In Python (My current "mother toungue") We have PyQT vs PyGTK vs wxPython and it is a good debate. I would like to hear your …

Member Avatar for Stefano Mtangoo
1
179
Member Avatar for sufi8

Hi i came across a problem with for my GUI project. for my class project i am designing an appointment calendar. for the layout i am using absolute positioning. so when i run my login class, some times the frame pops-up to a weird default Java frame (not re sizable) …

Member Avatar for sciwizeh
0
76
Member Avatar for jko2326

I'm trying to create an array of two radio buttons. but with the code i have right now it just wont show up on my jframe. Can anyone tell me what I might be doing wrong? Help please.. Here is a snippet of my code .....I'm only working on the …

Member Avatar for Ezzaral
0
79
Member Avatar for SORelena

I want creat thread but I dont know...[CODE]import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; //------------------------------------------------------------------------------------------------ public class MyApp extends JFrame { // Data static boolean stopped = true; // Is the counting stopped? (True or False) --> shared variable static JTextField number; //------------------------------------------------------------------------------------------------ // Constructor public MyApp() { // …

0
53
Member Avatar for Der_sed

What would be the psuedo code to : recursively draws squares. The picture shown below depicts squares drawn recursively on each of the 4 corners of a square. • The base case is draw nothing for n = 0. • The reduction step is to draw, on each corner of …

Member Avatar for sirdanman10
0
2K
Member Avatar for ffs82defxp

All I need is a frame, and a panel. On the panel I have to display 3 pictures 1 at a time, separated by a pause of custom length. I need the panel to be 773x632 pixels for my png image. What I need is the function for displaying an …

Member Avatar for vegaseat
0
122
Member Avatar for kiranpvsr

Hello.. Did anyone do the address book application in xml before? It uses a GUI built in Java to add, modify and delete records in the xml file. I have already written the code for GUI. As I'm not so familiar with XML, can anyone post the code for adding, …

0
51
Member Avatar for MineSweep

I'm pretty new to python, but I'm trying to create a simplistic version of Mineweeper. I have developed functions that randomly place mines in a 9x9 matrix (nested lists) and then I have functions that assign values to every cell that doesn't contain a mine corresponding to the number of …

Member Avatar for MineSweep
0
7K
Member Avatar for nikeetavanjara

when we use download data() of webclient() , it returns the data in the form of bytes... then this bytes we do response.binarywrite() such that it opens dialog box to "save", "open" , "cancel" is there any way that we can trace programatically, that user has actully save button to …

1
88
Member Avatar for redmaverick

I am a bit familiar with java, but I am pretty ambitious and I want to build a simple book store. I need some suggestions and help. I can create a simple homepage using HTML which has links, navigation menu etc. on the homepage I am good at GUI programming. …

Member Avatar for lelah
0
152
Member Avatar for khess

Nothing gets people in the Linux World riled up like comparing distributions, desktops or editors. But for the new Linux user, the whole thing is a bit confusing. What do we tell [I]them[/I]? Do we verbally slug it out in forums or do we offer gentle guidance to those entering …

Member Avatar for Cheemag
0
322
Member Avatar for KidBuddha

okay the point of the program is to have the user select two points which would be the points that make up the base of the house, then they select a point inside the house that will serve as the center of a door, however if they click outside of …

Member Avatar for woooee
0
113
Member Avatar for mydevnull

Hello guys! In a toolchain an XML is currently used to generate sourcecode and documentation (by oAW). By introduction of this XML -> source generation, I reduced the complexity of configuration of the corresponding software component (which has been done using pointers, structs and tables). Unfortunately, the XML file itself …

0
38
Member Avatar for v_rod

hi! i am making a prototype of an online stock trading application in python using tkinter module for Gui and a csv file for all the stock market data. i wish to know if there is an api using which stock prices can be changed if i keep all the …

Member Avatar for v_rod
1
117
Member Avatar for honeybaby

Novell Open Enterprise Server for Linux+ZENworks ,that is 050-704, is the hot emerging test exam in recent years. it aims to test the learners ablity to deal with linux+ zenworks . here is some Q&A you may have a look at which may help you to some extend. 1.By default, …

0
97
Member Avatar for lanmike09

Can I please have a second set of eyes look through my log for anything that jomps out at you? Much appreciated! Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 10:11:48 AM, on 11/19/2009 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16915) Boot mode: Normal Running …

Member Avatar for jholland1964
0
119
Member Avatar for EvolutionFallen

Hello, My professor has asked me to write a C# GUI for a C++ program. I did not write the C++ program (hell, I'm not even completely sure what it does -- something to do with pattern recognition). I wanted to know how one would go about writing a C# …

Member Avatar for DdoubleD
0
863
Member Avatar for fraogongi

Hi y'all, I've run into problems while running my program in eclipse. Its a Jruby application that uses Glimmer to create GUI components. I've followed the instructions as in [url]www.indijava.in/community/article/Glimmer-Using-Ruby-to-Build-SWT-User-Interfaces[/url] within eclipse, yet I can't seem to get it work. Am trying to run a simple example as the one …

Member Avatar for reflexer
0
135
Member Avatar for kapcom01

Sorry to bother again:) but im new to Python and to OOP. I made a simple sniffer application (thanks to your help) which prints the sniffed data on the console. I want to extend it giving it a GUI using PyQt4. I also made an argument "--nogui" that the user …

Member Avatar for kapcom01
0
2K
Member Avatar for Ryujin89

With assistance from others, I have an program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. The program I need assistance with reads in that file, adds a new field at the …

Member Avatar for Ryujin89
0
308
Member Avatar for CRD

I was told once that If I wanted to know what functions were available in a given header that I needed to open a header file and look. code /* * stdio.h * This file has no copyright assigned and is placed in the Public Domain. * This file is …

Member Avatar for Ancient Dragon
0
265
Member Avatar for Lioshenka

Stupid question, really... Say, if I have a Department tuple with "Faculty" field- how can I declare it on the design stage so it only can take the values of "Science", "Arts" or "Psychology"? Department { <letter_ID : CHAR( 2)>, <english_name: VARCHAR2 (50)>, <enw_cymraeg: VARCHAR2 (50)>, <faculty: "science" or "arts" …

Member Avatar for debasisdas
0
51
Member Avatar for kapcom01

How do i stop the following thread? [CODE] from threading import Thread from scapy.all import sniff class SnifferThread(Thread): def __init__ (self,filter): Thread.__init__(self) self.filter = filter def run(self): sniff(filter=self.filter, prn=self.pkt_callback, store=0) def pkt_callback(self,pkt): print pkt.sprintf('%TCP.payload%') if __name__ == '__main__': sniffer = SnifferThread("tcp port 80") sniffer.start() #here i will make a GUI …

Member Avatar for kapcom01
0
1K
Member Avatar for hdk

hi, Please could you help me with displaying the png image file I am saving. I want it to display just after it is saved so within the same function onPLOT [CODE]import wx import cx_Oracle import datetime import wx.grid import csv import numpy as np import matplotlib.pyplot as plt import …

Member Avatar for hdk
0
1K
Member Avatar for pinku2008

Hi, I am making a application , i have to make a small list of users from a big list of users. I am using ArrayList in Java but now getting result. To be more precise I have List1 with 10 users and i am making list2 of 3 users …

0
46
Member Avatar for AutoPython

Well, I've written a simple program that gives you info about your computer. The program runs perfectly fine, but the console window pops up and really does nothing. So I would like to hide the console window and only show the gui frame. Pointers on how to do this?

Member Avatar for sheeps
0
15K

The End.