81 Topics
![]() | |
I’ve made some UI changes to our forums page after my husband told me it looked too old school and like a 1990s webpage. Let me know your thoughts: https://www.daniweb.com/forums As you may have noticed, I also made some changes to the sorting and filter buttons on forum listing pages. … | |
Late last night, I launched a rewrite of our front end HTML and CSS that is designed to look nearly identical, but is much faster and designed to be more easily updatable and manageable moving forward. Let me know if you spot any bugs or inconsistencies. | |
Over the past week, I’ve made a handful of UI changes across the site. What do you think? Am I on the right track? Is this an improvement? | |
I found this great article on [User Interfaces](https://datagubbe.se/decusab/) that I wanted to share. Two points I wanted to add 1. Just because it's old doesn't mean it's bad. 1. Just because it's new doesn't mean it's better. And can we please all decide that light grey text on a white … | |
Huge congrats Dani, the new DaniWeb is not only looking slick and on-trend but actually *feeling* so much better to use, more powerful and more professional. I'm loving it so far! A BIG thank you from me for all the hard work you've put into this. | |
If you visit the Member Search page, the hamburger navigation menu top left is missing. You have to go back to the home page instead. Is this intentional? | |
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them. I don’t want at this stage work on a big separate project as I've already got plenty … | |
Hello Dear DaniWeber's. I've been away for some time, and have recently made the transition from VB to C# (Finally). Using C# has opened my eyes to many things that I had either not fully understood, or had a lazy attitude towards. I find myself visiting the core of OOP … | |
Hi All, Interfaces cannot be instantiated. Could you please explain why the following is valid: interface MyInterface{} MyInterface[] myInterface = new MyInterface[]{"a", "b"}; Cheers! | |
I found a bit of code which im unsure about in this poorly documented project im on. To be honest I havent got a clue what is going here. public void TestMethod(ISystemScriptingInterface system, ScriptEventArgs eventArgs) { var databaseScriptingInterface = system.GetInterface("database") as IDatabaseScriptingInterface; if (databaseScriptingInterface == null) { throw system.GetException(LocalisedSystemText.InternalServerError(), "Database … | |
Why do we use interface references to call methods of an object? For example: class Program : Iabc, Idef { static void Main(string[] args) { Console.WriteLine("Hello interfaces"); Program refProgram = new Program(); Iabc refiabc = refProgram; refiabc.xyz(); Idef refidef = refProgram; refidef.pqr(); Console.ReadLine(); } public void pqr() { Console.WriteLine("In pqr"); … | |
Hello All, I have searched every forum and google etc but nothing directed me in right path. Requirement: I am using a COM object which can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as the COM object does … | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace interfejsi interface Figura { String Plostina (); String Perimeter (); } } using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace interfejsi { class Kvadar : Figura { int a,b,c; public String Perimetar(int a, int b, int c) { return (a … | |
What is the difference between `CoffeeInterface<Beverage> cup1 = new Coffee<Beverage>()` and `Coffee<Beverage> cup2 = new Coffee<Beverage>()` `Coffee` is a class that extends the `CoffeeInterface` Is `cup1` an object or can it be used as one. Are there any differences betweeen `cup1` and `cup2`? | |
interface Interface1 { public int method1(); public int method2(); } public class Salary implements Interface1 { public static void main(String args[]) { int sa[]=Integer.parseInt(arg[0]); float pf,hra,da,tax,net; public int method1() { System.out.println("salary="+sa); try{ if(sa>250000) { pf=sa*5/100; hra=sa*10/100; da=sa*8/100; tax=sa*10/100; net=sa+tax; System.out.println("Net salary of an employee"+net); } } catch(Exception e) { System.out.println("I/O … | |
To integrate our data base with other site, I've got a xml coding (given below) but they require a JSP output steps and tips to achive that would be appriciated. TIA. <?php include('db_connect.php');?> <?php $query=mysql_query("select * from tbl_seat")or die(mysql_error()); $xml="<libraray>\n\t\t"; while($data=mysql_fetch_array($query)) { $xml .= "<From>".$data['fromloc']."</From>\n\t\t"; $xml .= "<To>".$data['toloc']."</To>\n\t\t"; $xml .= … | |
Hello, I got a error 'Does not implement interface member' I search around the net and try a lots of solutions, both did not works for me. How can I fix this problem ? 'Browser.CoreServer' does not implement interface member 'browser.iDataConnection.tcpclient' ... namespace Browser { public interface iDataConnection { TcpClient … | |
Hello I am trying to create a class that called Lootable and create subclasses such as trunk, locker, etc. that will contain items that can be looted, they will inherit their lootability from the Lootable class. I am thinking of using the ArrayList for this. I have thought of different … | |
Hello, I have a difficulty with changing interface from ordinary one to generic one. Could you suggest me how I can achieve this goal, please? This is the way how I initialize API, based on user's choice from configuration which implementation of interface should be chosen: /// MyServiceApplication.MyServiceApplication.cs GeneralSystemAPI.Initialize(); This … | |
I want to know about website interface design. Please advice me..... | |
I'm using netbeans IDE and I created a Jframe with two Jpanels one is for Jbuttons and other one is for load another Jpanels to it when clicks those buttons. I tried to do it from buttonclick action. Jpanel2 j2=new Jpanel2(); JPanel1.add(j2); j2.setVisible(True); but this code is not working. I … | |
Hello Community, I was wondering if it is possible to access and use an api from my website? | |
I wonder how to interface octave with c++ I already have m-file that can run on octave but I want to run a C++ program that can get/send command from/to octave Anyone can guid me? Is there any link for the tutorial or example code? | |
following the article title, I'm dealing with octave, it goes right on command line. but I need to build GUI for my program to easier interface with people. then I chose Java to build GUI. my problem is to connect my GUI java to Octave. Anybody has ideas to do … | |
hello. i got a project to do using oracle pl/sql and i want to add a interface (preferably, web) so there aren't just some plain sql scripts. some text boxes, buttons, etc. so it looks nice :D. any suggestions? thank you. | |
Enroller.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace HRSYSTEMPROJECT { class Enroller : IEnroll { #region IEnroll Members public String Enroll(String a,String b ,String c,String d,String e) { return a; return b; return c; return d; return e; } internal string[] Enroll() { throw new NotImplementedException(); … | |
How can I attach the OCX of WMP to my dialog based application? I want to use the methods of IWMPControls interface such as play() and pause(). I want to call these method by clicking the button given in the dialog box. Its Urgent... | |
hello ! recently i complete my project management application in .net , now i want to make a attractive main form , i google alot and searching attractive interfaces of application of same domain. i want to you to guid me or if possible then give some links . you … | |
Suppose i have a class that implements an interface, the interface is not implementing anything currently. This class and interface are bundled together in the same java program. So i have another program, and through a dependency i want to get that information from that class i spoke of in … | |
Hello all, been a while since I've asked a question. I'm working on a project just to practice and for fun and I've run into a snag. I'm working on a painting type program and I'm trying to get a generic Buffer class for the images so I can use … | |
So i have a java program running as a lib on a server. I need to just simply run a method within that library. In order to do so through J2EE, i need to get a call from a JSP -> EJB ->ResourceAdapter->Method. So i have the Reasource Adapter and … | |
#//Here is my simple class for MyCar# public class MyCar { private int odometer; private int speed; private int gear; public MyCar() //send values to member variables in this default constructor { odometer = 0; speed = 0; gear = 0.0; } public MyCar(int od, int sp, int gr) //constructor … | |
Hey fellows, I have three database tables AUCTIONS auction_id name description place date BIDDERS bidder_id firstname lastname email signupdate BIDS bid_id auction_id bidder_id biddate I want to create a drop down menu to select and display BIDDERS signed up for each AUCTIONS. I have coded the following in PHP to … | |
HELP ME PLEASE. I AM A 1ST YR COLLEGE STUDENT :/ Define an interface Filter as follows: public interface Filter { boolean accept(Object x); } Modify the implementation of the DataSet class to use both a Measurer and a Filter object. Only objects that the filter accepts should be processed. … | |
[CODE]import java.lang.*; import java.io.*; import java.util.*; interface Batm { final static int minbal=500; abstract void withdrawl(); } class Bal implements Batm { int amt,cbal; Bal(int amt,int cbal) { this.amt=amt; this.cbal=cbal; } void withdrawl() { if(cbal>minbal) { cbal=cbal-amt; System.out.println(amt+" "+"withdrawn"); } else { System.out.println("bal nt sufficient"); } } } class Atm … | |
Code attached in the attachment is not my own and was supplied by an instructor. I am to create a word morphing game. The computer will provide a starting word and an ending word. I am to enter a new word, that either adds or removes a letter from the … | |
I'm writing an assignment for my introduction to programming class and we're supposed to implement the following interface: [CODE] public Interface Account{ //Calculates interest (1%) and adds to the account balance public void interest(); //Calculates the balance after a deposit public void payIn(double money); //Calculates the balance after a charge … | |
Hello! I'm doing my first homework assignment with abstract classes and interfaces. I have a few questions: (1) I know that a class must be saved on the computer as, for example, Class.java. Is this the same for abstract classes? How are interfaces supposed to be saved? Do they need … | |
Hi, im new to all this programming stuff and i am a total novice, so please treat me as such. By this friday (27th), i need to program a user interface for a driving simulator, including a picture box(or similar) with images to show basic direction or something, a gas, … | |
I am trying to design a file reader with some sort of GUI so I decided to use JOptionPane. I am a complete noob trying to learn java. So far, I have managed to make my program produce a pop up for the file location, and also an error message … | |
Hi, We have an 7 year old application which is in the maintainance phase. I have recently joined the project and I keep hearing "backward compatibility of inteface". Can someone explain to me with an example what does this means? Thank you. Regards | |
You might think that there's not much further for a high-end low budget home entertainment remote control unit to go than the [URL="http://www.daniweb.com/hardware-and-software/home-theater-home-entertainment/reviews/324398"]One For All SmartControl that DaniWeb reviewed just over a year ago[/URL] now. However, One For All does not seem to agree as it has just launched the … | |
Holler fellow programmers I have an error that's been bugging me for almost a day now: I keep getting 14 of this error: class, interface, or enum expected Yes, 14 different exact same error message basically for every line of code in the inputGetter method below. Can someone please help... … | |
I am new to programming and I don't know how to make interfaces. My code is : [CODE]public class CarsDescription { /** * @param args the command line arguments */ public static void main(String[] args) { interface Domestic {} interface Import {} interface Japanese extends Import {} interface German extends … | |
I am currently working on a project for my computer class and i am using it as an opportunity to learn pyobjc. i have a database file that includes a path to an image, reading this and getting the path to the image is no problem. my problem is, i … | |
If anyone could help this humble learner I would deeply appreciate it, Im trying to put this whole function, the couts in the middle but gotoxy() on a console application doesnt seem to work, im on windows vista and using codeblocks the latest version, Maybe I have a library wrong … | |
I am about to begin working on a program serving simultanuously a handfull of non-technical clients. I am still trying to select my user interface, and would like your suggestions, given that my main program would be written mainly in Python. I would suppose that most of the actions requested … | |
excuse me if this question has been asked before than i am sorry i couldn't find it. so i am ruining Ubuntu on my desktop computer and i have started c++ using code blocks i was wondering how do you make a GUI window for Linux or am i using … | |
Learning about Abstract classes and interfaces, is there anything else I have forgotten about? [B]Abstract Class[/B] 1.Cannot be initated. 2.Can have concrete methods. 3.Abstract methods with no body 4.A class extending the abstract class does not need to use all the abstract methods from the abstract class. 5.A class can … | |
Hey all. When you have the whole program running, and is executed it's running at the black console window. How are the programs made so that they run with GUI interface and stuff like that? Are they exported differently and where are the images and things put together ? Thanks. |
The End.