Questions tagged [default]

Refers to an initial, most commonly used option, setting, or value that is automatically assigned to an application or device, outside of user intervention, with the intention of making it usable "out of the box".

A , in computer science, refers to a setting or a value automatically assigned to a software application, computer program or device, outside of user intervention. Such settings are also called presets, especially for electronic devices. Default values are generally intended to make a device (or control) usable "out of the box". A common setting, or at least a usable setting, is typically assigned.

tag should be used for questions regarding

  • Default features of programming languages (like default return type of C functions).
  • Default configuration of and Applications.

SOURCE

Wikipedia

3261 questions
1
vote
2 answers

What should go into default case of a switch statement inside a Factory Method?

Factory method works great when all my object creation parameters are well-defined. However, working with legacy code, the default seems to be to 'fail silently' or write code constructs that prevent invalid data ever reaching the factory…
Dennis
  • 6,954
  • 8
  • 53
  • 97
1
vote
1 answer

How to set the system default font as the selected item of JComboBox?

This answer tells that using the constants Font.SERIF and Font.SANS_SERIF gives the default font of the system. That is OK; but if I have a JComboBox that is filled by all of the font names of the system - then how to set correctly the…
Saleh Feek
  • 1,948
  • 6
  • 32
  • 51
1
vote
1 answer

Change default scrollbar behavior

Quick question... Is there any way to change the default behavior of a scrollbar from moving one pixel at a time (continuous motion), to jumping say 100px at a time (less continuous more discrete jumps). I have an animation that jumps between…
Kirn
  • 524
  • 1
  • 6
  • 18
1
vote
1 answer

How to receive incoming SMS on Android KitKat or above?

I know from KitKat onward we need to make out app as default SMS app to be able to modify the SMS database. But I don't want that. I only need to get notification of incoming SMS and display as toasts, and also send SMS. Do I need to make my app…
1
vote
1 answer

default date constraint has null records

We are having occasionally EMPTY records in our table/column below when there are multiple records inserted at one shot. While technically this is allowed since the column is nullable, the default constraint should apply for every row…
1
vote
3 answers

How to set default background colour tkinter

Does anyone know the colour code for the default background? I cant seem to find this anywhere. In my program I changed the background colour and need to change it back to the default colour later on but I am unable to find the colour code. Any…
Rezzy
  • 85
  • 1
  • 6
1
vote
1 answer

Android app defaults - two handling activities, setting default activity

I'm doing something like custom browser with 2 options: View or Download page. Manifest file looks something like this:
feromakovi
  • 99
  • 1
  • 8
1
vote
1 answer

Default method cannot be static in java interface?

Why can't we create an interface with default static method? public interface StaticTest { default static void display() { System.out.println("Display here"); } }
Bimal Sharma
  • 114
  • 14
1
vote
1 answer

http://localhost:7101/console/login/LoginForm.jsp default username and password?

I just downloaded Jdeveloper 11.1.1.7.1, I'm very new to this, I integrated web logic service, (WebLogic Server Version: 10.3.5.0) however, I don't know what is the default username and password to log in!
john
  • 25
  • 1
  • 8
1
vote
1 answer

After changing my background-image, my header images are invisible

I am working on a webpage. I am trying to make a default navigation bar for all my pages, this is my file I want to include() my navigation bar in: My Webpage
Conner Dassen
  • 591
  • 3
  • 8
  • 22
1
vote
3 answers

Default values not working in phpmyadmin/mysql database

I can't get a table to accept "" or '' and use the default value. It is inserting NULL instead. I am trying these commands in the direct input sql window. INSERT INTO test01 VALUES ("", now(), ""); INSERT INTO test01 VALUES ('', now(), ''); But…
Garry Jones
  • 33
  • 1
  • 8
1
vote
1 answer

setting html parameter option dropdown value via url

I would like to set the default of a drop-down menu of a webpage by passing the default value in the url. Id like to put a link on a another webpage to this site where the: "I would like my contribution to go to:" option is set to Pakistan:…
Farhan
  • 11
  • 2
1
vote
1 answer

Is it possible to remove Blogger attribution from default mobile version?

I know how to remove Blogger attribution from custom mobile version of blogspot blog. But is it possible to remove Blogger attribution from default mobile version? If possible, how to do that?
slbgdp
  • 153
  • 2
  • 11
1
vote
1 answer

How to set a cell's default value as constant in excel

Second post and question. Still quite the newbie. How do I set the default value of certain cells, to 9999 for example, so that even if someone enters a value in that cell, then delete's their entry it refers back to that default value? Does that…
1
vote
1 answer

Protected constructor on parent and inherited default one not protected

I have a question about default constructor on inherited class when the parent one is protected, in my mind the child class will have a default one protected too, but it's not the case. Is there's a way to force the default constructor to be…
WCdr
  • 133
  • 1
  • 10
1 2 3
99
100