363 Topics

Member Avatar for
Member Avatar for kal_crazy

Creating a text editor. Thread 1 creates a file and listens for user input. Thread 2 checks for spelling mistakes. How do I show spelling mistakes on the console? Should I highlight the text that has the spelling mistake? I tried that but it just highlights the following text in …

Member Avatar for Moschops
0
219
Member Avatar for Gl753

I'm working on a Database assigment but I'm kind of stuck. It seems to be the Double value that's causing the issue because when I use the Varchar data type I can create my table. Is there any way I can use Double without using Varchar. Any help is much …

Member Avatar for Dani
0
260
Member Avatar for daniel1977

I don't think I fully understand the concept of looping. Below is what I put into eclipse and the results I get, am I doing something wrong to get the correct results if you could help thanks /* Working with a sentinel value Anderson, Franceschi */ import java.util.Scanner; public class …

Member Avatar for hannahaddad
0
250
Member Avatar for napninjanx

So far I learned how to download the JDK Java Development Kit. Then created a PATH file cause it the training video they said something about sp Java won't mix up directories and so on. So putted the semicolon at the end of the Path File... In Environment Variables. Then …

Member Avatar for napninjanx
0
260
Member Avatar for msagilliam1

Hello DaniWeb Family, A few years after obtaining my Master's in Business, I decided to completely change careers and go back to school for web design and development. I've recently completed a 2-year program where I studied VB, ASP.NET, C#, Java, SQL, Server 2008, Photoshop, and Dreamweaver among other courses. …

Member Avatar for msagilliam1
0
305
Member Avatar for danie93
Member Avatar for Siberian

Hi, I didn't know where to place this thread :) Any recommendations for an IDE app to save snippets of code within the program, I looked online, and there are many options, too hard to pick ! :)

Member Avatar for Siberian
0
323
Member Avatar for pwolf

I was following along to the following tutorial - [Derek Banas Java tutorial 18 - Threads pt2](http://www.youtube.com/watch?v=G2Xd5avyk_0) and as I decided to go over his tutorial series by following along in notepad++ and compiling with the command line, so that I can experiment and test things I'm unsure about, I …

Member Avatar for pwolf
0
1K
Member Avatar for joselalupa

i am trying to use xerces in ubuntu 13.10, it is instaled, i can see the files in usr folder but i have no luck including it in eclipse cdt, i've found this thread "[Click Here](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/409769/ubuntu-11.10-xerces-c)" but it is dead and the answer is not clear for me, could anyone …

0
194
Member Avatar for firepower

how do i change the background to a custom one. code JButton button = new JButton(); JButton quit = new JButton(); public Mainmenu() { Icon b = new ImageIcon(getClass().getResource("play.jpg")); play = new JButton(playb); add(button,BorderLayout.CENTER); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit,BorderLayout.SOUTH); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent …

Member Avatar for JamesCherrill
0
206
Member Avatar for firepower

please help me how to close the window. code: JButton quit = new JButton(); public Mainmenu() { setLayout(new FlowLayout()); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit); quit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { } });

Member Avatar for mKorbel
0
164
Member Avatar for Curious Gorge

I can program with C++ though I'm just a novice at it. I'm using Microsoft's Visual Studio Express 2010 but I don't entirely understand what I'm doing. I can use a library after a great order of frustration but I would like to make this easier. Are there any web …

Member Avatar for Curious Gorge
0
285
Member Avatar for LyingInAHammock

Basically I've created an **app drawer** and placed a **seekbar** within it. This app drawer is made up from **app_drawer.xml** whilst my fragment below is made up from **main_activity.xml**. The issue I'm having is, although the seekbar shows up perfectly and the app drawer pulls in and out as it …

0
162
Member Avatar for firepower

i need good java eclipse tutorial iv'e watched theCherno,Thenewboston etc.i learned GUI,anonymousclass etc.i just need a good beginner tutorial on java eclipse.

Member Avatar for C-Money
0
206
Member Avatar for firepower

please someone tell me how to change the size of the button.the code: JButton button1 = new JButton(); JButton button1 = new JButton(); public Mainmenu() { setLayout(new FlowLayout(100,278,158)); Icon button2= new ImageIcon(getClass().getResource("button1.jpg")); button2=new JButton(button2); add(button); Icon button2= new ImageIcon(getClass().getResource("button2.jpg")); button2=new JButton(button2); add(button2); HandlerC hand = new HandlerC(); button1.addActionListener(hand); button2.addActionListener(hand); } …

Member Avatar for JamesCherrill
0
260
Member Avatar for pwolf

one of my goals for this year is to learn java, and I found an excuse to get started lately. So over hte last couple of hours I have been reading tutorials and the likes, and started following the advice from this post http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq As such I am up to …

Member Avatar for JamesCherrill
0
344
Member Avatar for firepower
Member Avatar for stultuske
0
265
Member Avatar for anisha.silva

Hi, I want to know how do i write the grammer for the program below in JavaCC. app(name : 'First App') { View(id: top) { Label(id: l1, text: 'Hello') Button(id: b1, text: 'Press') Button(id: b2, text: 'Exit') } } appreciate a reply thanks

Member Avatar for anisha.silva
0
288
Member Avatar for LyingInAHammock

Out of my depth a little :-) How do I create a pair of longitude and latitudes to create a polygon showing a 2 mile radius of a particular longitude and latitude? in Java Android. I know how to find your current longitude and latitude but I just can't figure …

Member Avatar for jwenting
0
556
Member Avatar for Doogledude123

Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`

Member Avatar for JamesCherrill
0
1K
Member Avatar for anisha.silva

Hi, I have a parser in .madl language in a txt format and I want to implement the code completion in java in eclipse plugin project. Fro ex: code completion is in a java editor if you press Ctrl+space a popuo window appears with relating option that are available, I …

Member Avatar for anisha.silva
0
416
Member Avatar for anisha.silva

Hi, I am implement a plugin project in eclipse in java language. I have a parse which is in s simple txt file. Below is the txt for the parser. id=app1 [String] #type=app [String] mainView=top name=First App [String] children: size=1 === child[0] === class=View id=top [String] #type=View [String] #line=8 [Integer] …

0
151
Member Avatar for LyingInAHammock

How do I replace my android app Google maps radius circle with a blue translucent one as in image also blue marker with blue circle? I can make the circle have a particular outline and fill but it doesn't look anywhere near as nice as the one depicted in the …

Member Avatar for LyingInAHammock
0
816
Member Avatar for fuchsia555

Hello everyone, I'm about to develope a simple app for mobile and i want your help about how to make a code for sending the order of the selected items by SMS or E-mail to a sepcific cell number or E-mail after selecting the desired items clicking on the button …

Member Avatar for peter_budo
0
134
Member Avatar for BeganMemory

At this point I know how to utilize Google Maps within Android but it always seems to take up the full window, there is an image below which shows what I'm attempting to accomplish (having a box below the Google maps where I can store text i.e. "Hello World" **How …

Member Avatar for peter_budo
0
455
Member Avatar for GUIPaPa

Guys why is my image not loading on my JFrame?? BTW I am using eclipse on my mac. Code for Board : package ourgame; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Board extends JPanel implements ActionListener { Dude p; public Image img; Timer time; public Board() { p = …

Member Avatar for GUIPaPa
1
489
Member Avatar for Valentina_1

Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that …

Member Avatar for JorgeM
0
283
Member Avatar for pwolf

I have just started trying to learn Java, and i am currently following a tutorial series on youtube([Java tutorial by Derek Banas](http://www.youtube.com/watch?v=rGlJiUO-dZA)) it seems like a good series so far! but i have been going along with him and typing it out, then afterwards replacing my copied code with his …

Member Avatar for Ewald Horn
0
281
Member Avatar for johnson_2

I have a c++ file in xcode that I want to import to netbeans the problem is the c++ file is lacking some files which netbeans requires in order to open that up in netbeans(e.g makefile) How do I do that?

Member Avatar for Moschops
0
149
Member Avatar for Lp_baez

I am looking for a noob friendly C++ IDE for mac computers. I'm looking something similar to microsoft visual studio. I have tried xcode, but it appears to be missing some of the basic cpp. and h. files like stdafx.

Member Avatar for mike_2000_17
0
430

The End.