4,919 Topics

Member Avatar for
Member Avatar for vinodvinu

Hi there, I like programing very much. Fortunately or unfortunately my sujects in collage was arts, because i hate maths. Visual basic is my favourite language. I have learned it partially. But it didn't support my native language. I need some menu button text in my native language, but it …

Member Avatar for vinodvinu
0
197
Member Avatar for dreking6

newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= …

Member Avatar for dreking6
0
2K
Member Avatar for murali2489

Hi All, In MY GUI app, inside JFrame, i need to put two rows 8 column components first and then below i need to put one button in the center . I created one Jpanel having 2*8 grid layout and placed the components for two rows there and have put …

Member Avatar for murali2489
0
257
Member Avatar for Dinh Nguyen

Can anybody tell me Why I click on button to submit form -> it works, but when I use javascript to auto submit -> it failed ? I have this form on aaa.com, it submit to bbb.com/result.jsp (another domain) <form id="myForm" name="myForm " method="post" action="www.bbb..com/result.jsp"> <input name="var01" value="var01 "> <input …

Member Avatar for iamthwee
0
6K
Member Avatar for murali2489

Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a …

Member Avatar for stultuske
0
324
Member Avatar for jakhondi

Can anyone help me get my output to display in my textArea? When I click the button, when the program is running, it wll display console output since I am using System.out.printf, but now I want it to show in my GUI. Any help would be appreciated. Thank you.

Member Avatar for JamesCherrill
0
189
Member Avatar for ccsj2206

I need help making this to display the results into a Jframe GUI instead of a console im failry new to java so please help me thanks, here is the code ive used: import java.util.ArrayList; public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList(); …

Member Avatar for JamesCherrill
0
741
Member Avatar for mgold

I'm new to JavaFx and Java GUI development in general. For those not fermiliar, it seems that JavaFx threading has some similarities to swing. Anyway, I'm a little confused about when to use a `Thread` class and when to use JavaFx's worker classes (`Task<a>` for example). Should I use JavaFx …

0
121
Member Avatar for CoilFyzx

Hello everyone. I have successfully added an image to my JPanel, but what I want to do is this: I want to be able to mark a section of the image as clickable. Then when the user clicks within that section, I run some action. So essential I want to …

Member Avatar for sirlink99
0
228
Member Avatar for CoilFyzx

Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image …

Member Avatar for CoilFyzx
0
419
Member Avatar for vegaseat

Uses the PySide GUI toolkit's QtMultimedia module to play a specified sound. You can change frequency/pitch and volume of the sine wave.

2
1K
Member Avatar for Samaneh_1

Hi dear users, I need a java fuzzy logic library for writing fuzzy logic code in java and an example of that to how to write that code by it's Library. My environment is Centos 6.4 and without any GUI. How could it be possible? I really need your help. …

Member Avatar for masijade
0
72
Member Avatar for frenchfrog

Hello ! I'm trying to do a similar thing as http://www.daniweb.com/software-development/python/threads/392697/calling-matlab.m-file-from-python. I managed to have Matlab launch, and run my Matlab file as the GUI of my matlab function is shown on screen. However it only stays on screen for 1 second, and Matlab closes ! import subprocess as sp …

Member Avatar for Gribouillis
0
2K
Member Avatar for mgold

Ever since I started looking into JavaFx, I've been wondering about the future of desktop GUI development. A lot of platforms are using a psuedo HTML5/Javascript/CSS3 for GUI development now, incuding (I believe) Windows 8. Even JavaFx seems to do away with the idea of "drawing" the interface element. What …

Member Avatar for rubberman
0
117
Member Avatar for Dragan_1

I have problem with markers, actually with clicking on it. I want to achive that, when i click on a marker, on a left side in a div show name of that marker. Problem is that I always get name from last marker. I guess, that is a problem in …

Member Avatar for LastMitch
0
201
Member Avatar for christinetom

Hi everyone.. Would anyone know where I could find a good explanation on 'Pipes' in programming. I'm trying to understand how I might go about using input into a GUI application to display output in a dos console. As I understand it, the concept of pipes comes into this somehow. …

Member Avatar for christinetom
0
149
Member Avatar for Nihil777

Hello. I am new to Linux and, in effort to learn more, have undertaking a project I am not entirely sure is possible. What I want to do is use my computer (Ubuntu 12.04) to connect all devices in my house much like Windows Play Center (or whatever it is …

Member Avatar for Nihil777
0
197
Member Avatar for ric24

I want to set a value to a textbox from another class. I have tried to give the GUI as parameter to a function but I can reach it in a .h file, but not in my a .cpp file. Can somebody tell me how it is possible to set …

Member Avatar for Ancient Dragon
0
146
Member Avatar for Hal5000

Hi everyone, I need really help about a thing. I have an installer (exe file) which I am able to automate silently by using following switches: /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- Unfortunately there is a tick/option at the end of the installation process, which opens the company's website and release notes …

Member Avatar for Hal5000
0
123
Member Avatar for annitaz

#ifndef LOTTO_H #define LOTTO_H #include <QWidget> #include <QLabel> #include <QTextEdit> #include <QPushButton> #include <QGridLayout> class lotto : public QWidget { Q_OBJECT private: //widget data members QLabel* numbersLabel; QTextEdit* numEdit; QPushButton* lotusButton; public slots: int generateLotteryNumbers (); void displayNumbers(); public: lotto(); }; #endif // LOTTO_H #include "lotto.h" #include <stdlib.h> #include <time.h> …

Member Avatar for plenty.groover
0
285
Member Avatar for murali2489

Hi All, Im still finding it hard to understand Paint method, Almost all websites i had gone thru, they are showing examples of how to use it in an applet. I just cant understand on how to use it in a GUI application by extending Jframe object. Here is one …

Member Avatar for murali2489
0
1K
Member Avatar for erinkay528

For some reason the program is not reading the if and else statements. Please help The assignment: Assignment: The city zoo charges the fees shown in the table below. General Admission Price Adult $18.00 Child (age 5 to 13) (Under 5 years of age: free) $7.50 Extra Events Train ride …

Member Avatar for Moschops
0
1K
Member Avatar for christine.dunne.963

I tried using BorderLayout as in label but does not work package HelloWorldGUI; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class HelloWorldGui { private JFrame a; private JPanel p; private JButton b1; private JLabel lab; public HelloWorldGui() { gui(); } public void gui() { a = new JFrame("window"); a.setVisible(true); a.setSize …

Member Avatar for scudzilla
0
127
Member Avatar for murali2489

Hi All, I have a doubt in paint method of the Component Class. I know how to use that in Applet but im finding it hard to use it in GUI app. Im posting my code here, please edit it to make the program use paint method to render any …

Member Avatar for JamesCherrill
0
339
Member Avatar for murali2489

Hi All, I have created a Java applet in Eclipse and ran it in eclipse, it works fine . To run the applet in Webbrowser it was mentioned to embed the .class file inside a webpage by creating a HTML file. My class name is MyFirstGUI. i have created a …

Member Avatar for murali2489
0
280
Member Avatar for corliss

Hi All, I have created an application that allows a user to select a diectory, where we parse the photos, and upload to a database. The issue that I am having is that I have a button on the form found in the newJFrame.java class called upload that when pressed …

Member Avatar for corliss
0
380
Member Avatar for jelly46

I have built a large from and I have just discoverd my <button></buttom> does not work as a link I am using <button onclick="window.location.href='myurl'">Next</button> , but it is not working Help.

Member Avatar for IIM
0
239
Member Avatar for Matigo

Hello I want to make a GUI tool in python Tkinter that can check if the site is up or down, I did a quick search on google and i came up with the following code import httplib conn = httplib.HTTPConnection("www.google.com") conn.request("HEAD", "/") r1 = conn.getresponse() print r1.status, r1.reason I'm …

Member Avatar for james.lu.75491856
0
175
Member Avatar for Wolfenstien

Hi! Im new to Java and iv been studying GUI's in it. Just started with swing and tried to make this giu for a calcularot. but it doesnt execute and gives me "java.lang.NoClassDefFoundError" error. im a total noob so i cant figure it out. i'd really appreciate it someone could …

Member Avatar for Wolfenstien
0
273
Member Avatar for andi-dev

the jsp cmlode and html <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>This must be paste in head <a href="#" id="toggle-example2" class="button"></a> <div class="example2"> <p>Una novitĂ  nei prodotti speciali! La nostra IP Plus aumenta il numero di ottano, passando da 98 a 100 e dando così vita ad un nuovo prodotto altamente performante: plus 100. …

Member Avatar for andi-dev
0
716
Member Avatar for th3k1d

I am currently learning c++ on my Mac started with eclipse and playing with Qt some recently. I am wanting to switch over to Linux. I was wondering what is the recommend Linux destro that c++ programmers are using. I will need to do some GUI programming. So I guess …

Member Avatar for mike_2000_17
0
244
Member Avatar for DavidKroukamp

I have recently been interested in Java Swing and Game development, so naturally I began creating many different 2D games. During them I found myself having to rewrite much code, but eventually I decided to write some classes that would help me whenever I wanted to make a game. Here …

Member Avatar for JamesCherrill
3
2K
Member Avatar for Matigo

Hello everyone How can i make the button be on the left side or right side please Part of the code Button(self, text = "start", command = self.launch).grid(row = 7, column = 0, columnspan = 1,) Thanks in advance

Member Avatar for bumsfeld
0
220
Member Avatar for joeyliew7

How to get the imgbtnView image button in gridview to display the row of data? i try to use modelpopupextender but the targetid is invalid because the image button is in the gridview. when click on imgbtnView, solistPanel will be display now i cant display the solistPanel. please help <table …

Member Avatar for joeyliew7
0
674
Member Avatar for pbj.codez

Howdy Folks; I have decided to begin working on a project, that I personally feel will cover alot of areas, and introduce me to new topics. This is not for a client, or a homework assignment. This is strictly to help me 'learn as I go' and review some old …

Member Avatar for pbj.codez
0
260
Member Avatar for cleve23

Hi I just started to learn Java and when i was reading through the tutorial for building a simple GUI. It says that parseDouble method is not localizable. I don't understand what it is refering to as this method is not localizable. Please explain to me.THANKS!!!!!!!!!!!! :D Code int tempFahr …

Member Avatar for JamesCherrill
0
200
Member Avatar for shane.shaffer.50

I am looking for some advice on where to start with building my guy. I will mostly be coding on my mac, but have the option of windows or linux. I am going to be building an application that will be based around a database for my business and want …

Member Avatar for iamthwee
0
209
Member Avatar for pspwxp fan

I have a JTable with two columns in my JFrame. The number of rows this table has should equal a number input in a JForm in a previous JFrame. I cannot find any rowCount mutator function (Using Netbeans), and upon further inspection, the rowCount property in the GUI design view …

Member Avatar for JamesCherrill
0
3K
Member Avatar for game06

need help with design to separate model and gui code? les say i have 3 classes. Main.java BoxGui.java BoxModel.java public classBoxModel { BoxGui bg = new BoxGui(); public void moveBox(){ int x = bg.getX(); bg.setX(x+1); } } public class BoxGui { int x,y,width,height; public void paint(Graphics g){ g.drawRect(x, y, width, …

Member Avatar for JamesCherrill
0
222
Member Avatar for corl45

ok, every time i start a new project in dev-pascal. i edit the resource file to somthing like this: [CODE]1 ICON "C:/Dev-Pas/Icons/Edit.ico"[/CODE] ive tried manualy doing it, and with the build in GUI. after i compile the resource file itself it works just fine says: "compiled correctly" but when i …

Member Avatar for miracleX
0
1K
Member Avatar for Osaid9

Hello i'm trying to display date in textfield this is my code: private void DateObjectActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: java.util.Date date=new java.util.Date(); this.DateObject.setText(date.toString()); olny the problem is the date will only show If i press a button I want it to display automatically when I …

Member Avatar for JamesCherrill
0
2K
Member Avatar for christinetom

Hi again everybody. Has anyone used tnFox Gui Toolkit? I've just looked at FLTK which seems to be perfect if you want to creat a small file size and easy to use. I'm exploring other options like this too. Is tnFox small in filesize. wxWidgets generates a rather big file. …

Member Avatar for christinetom
0
199
Member Avatar for sk8ergirl

Hi, I have class of student object with the String student name and double GPA they are stored in array. My GUI have button for sort by name and sort by grade. I want to sort the name and the grade and I want to sort it using Comparator, but …

Member Avatar for JamesCherrill
0
173
Member Avatar for simbarashe.tandi

I need to knw hw I can make a gui for aa prograaaam written in C++ ,m using the codeblocks IDE

Member Avatar for rubberman
0
98
Member Avatar for christinetom

Just wondering if anyone has used FLTK gui toolkit before? If so what did you think? I'm unsure whether to use that or wxWidgets. Thanks

Member Avatar for christinetom
0
253
Member Avatar for m_ishwar

Guys, below is a part of an Object description in an application I am trying to code. I am using Tkinter for GUI. The Tkwindow hangs as soon as the "print self.gs" instruction is executed. Can it be rectified? Any help will be appreciated def while_time(self): pass def gameplay(self): self.gs=self.get_schedule()#Schedule …

Member Avatar for m_ishwar
0
167
Member Avatar for mdomarfaruk

I am a new web designer of joomla . I can design a joomla site but not create a drop down menu . Pls any body help me. Thanks Faruk

Member Avatar for LastMitch
0
184
Member Avatar for moeketsi.mathe_1

Using GUI (graphical user interface, i.e. Text-Fields, Buttons, Check-boxes, Lists, Labels) you are to create a car-shop or a restaurant-menu program that guides the buyer/customer. If it’s a car-shop to select a car they want, their desired specifications for that car, and finally displays an invoice as per car and …

Member Avatar for JamesCherrill
0
96
Member Avatar for Jacklittle01
Member Avatar for vegaseat
0
370
Member Avatar for sanaQ

hey people. ok.. this is what i NEED to do.. Task > 1. User will add TODO list in the textbox shown in the GUI Windows Form. > 2. User will also select the date on which the task will be done. > 3. Once entered the above information, user …

Member Avatar for ddanbe
0
868

The End.